Professional Documents
Culture Documents
1. Write a program to design a class Volume and then find out the volume of
a Cube, Cylinder and Sphere using constructor overloading.
4. Program that creates class Square and assigns values to variables using
constructor and this keyword.
5. Program that illustrates how this keyword can be used by one constructor
to explicitly invoke another constructor in the same class.
6. WAP that will allows the user to enter CD information - Artist name,
album title, and year of release -- and then organizes it according to the
user's choice and criteria -- either by artist name, then title, then year of
release, or by any other order according to the user's choice.