0% found this document useful (0 votes)
15 views1 page

Java Programming Concepts and Examples

Uploaded by

likhilreddy18
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

Java Programming Concepts and Examples

Uploaded by

likhilreddy18
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. a) To write a JAVA program to display default value of all primitive data type of JAVA .

b) To write a JAVA program that implements Runtime polymorphism.


2. a) To write a JAVA program to implement multi-level Inheritance.

b) To write a JAVA program to search for an element in a given list of elements

using binary search mechanism.

c) To write a JAVA program to implement Interface.


3. a) To write a java program that display the roots of a quadratic equation ax2+bx=0.

Calculate the discriminate D and basing on value of D, describe the nature of root.

b) To write a JAVA program to implement multi-level Inheritance.


4. a) To write a JAVA program to implement constructor overloading .
b) To write a JAVA program to implement Single Inheritance.

c) To write a java program for abstract class to find areas of different shapes.
5. a) Write a JAVA program give example for “super” [Link] Using super to call super
class constructor (With and Without parameters).

b) To write a JAVA program to implement constructor overloading .


6. a) To write a JAVA to implement constructor .

b)To write a JAVA program to implement constructor overloading


7. a) To write a JAVA program using String Buffer to delete, remove character.

b) To write a java program for abstract class to find areas of different shapes.

c) To write a JAVA to implement constructor .


8. a) To write a java program for abstract class to find areas of different shapes.

b) To write a JAVA program implement method overloading.

c) To write a JAVA program to implement constructor overloading


9. a) To write a JAVA program to implement multi-level Inheritance

b) To write a JAVA program to display default value of all primitive data type of JAVA .
10. a) To write a JAVA program to sort for an element in a given list of elements using

bubble sort.

b) To write a JAVA program implement method overloading.

c) To write a JAVA program to implement Single Inheritance.

You might also like