Advertisement

Responsive Advertisement
Creating a Thread by Extending Thread class
Create a class circle and use inheritance to create another class cylinder from it
INHERITANCE IN JAVA
Write a java program to find out whether a student is pass or fail; if it requires a total of 40% and at least 33% in each subject to pass. Assume 3 subjects and take marks as input from the user.
 Write a java program Calculate income tax paid by an employee to the government as per the slabs mentioned below:
Write a Java program to find out the day of the week given the number  [1 for Monday, 2 for Tuesday … and so on!]
SWITCH CASE IN JAVA