11. Multiple Inheritance sample in Java
By: Paawan Chaudhary : 2012-09-19
Description: This Java program implements the following Multiple Inheritance
Read the full article
 
12. MultiLevel Inheritance sample in Java
By: Paawan Chaudhary : 2012-09-19
Description: This Java program implements the following Multi Level Inheritance
Read the full article
 
13. Vector in Java - Sample Program
By: Paawan Chaudhary : 2012-09-19
Description: This java program implements a Vector that accepts five items from the command line and store them in a Vector and display the objects stored in a Vector.
Read the full article
 
14. Calculate average sale of the week in Java
By: Paawan Chaudhary : 2012-09-19
Description: This java program accepts value of apple sales for each day of the week (using array of type float) and then, calculates the average sale of the week.
Read the full article
 
15. Calculate gross salary in Java
By: Paawan Chaudhary : 2012-09-19
Description: This Java program defines a class Employee to accept emp_id, emp _name, basic_salary from the user and display the gross_salary.
Read the full article
 
16. Handling Fractions in Java
By: Paawan Chaudhary : 2012-09-19
Description: This Java program defines a class Fraction having data members numerator and denominator. Initializes three objects using different constructors and displays its fractional value.
Read the full article
 
17. Student marks calculation program in Java
By: Paawan Chaudhary : 2012-09-19
Description: This Java program defines a class student with four data members such as name, roll no,sub1, and sub2. Defines appropriate methods to initialize and displays the values of data members. Also calculates total Marks and percentage scored by the student.
Read the full article
 
18. Reverse a number in Java
By: Paawan Chaudhary : 2012-09-19
Description: This java program defines a class having one 3-digit number, num as data member. Initializes and displays reverse of that number.
Read the full article
 
19. Count number of vowels, consonants and digits in a String in Java
By: Paawan Chaudhary : 2012-09-19
Description: This java program accepts a string from the console and counts number of vowels, constants, digits, tabs and blank spaces in a string.
Read the full article
 
20. Save/Write/Read image file from/to a database using Java program
By: Issac : 2012-04-04
Description: Assuming you have a table with a blob field and you want to save a file and store it in the database table or you want to read from a blob object stored in a database, you can use these below java code snippets to write file and read file from database.
Read the full article
 

Previous      Next