Data Members
Data Members
Data Members:
RADIUS
METHODS
2. Write programs to demonstrate the difference between method overloading and method overriding
in Java?
3. What is inheritance? Demonstrate the use of Super keyword in inheritance with the help of example.
4. What is exception handling? How multiple exceptions are caught in a single program? WAP to
demonstrate the use of custom exception.
5. What is an applet? How it different from an application? Explain the applet life cycle with the help of
an example? Also draw an applet's state transition diagram?
6. Define Package? Broadly explain the utilization of package in java with suitable example.
7. A) Write a Java program to find greatest of a three numbers using conditional operator.