Professional Documents
Culture Documents
Poornima University, Jaipur.: Page 1 of 1
Poornima University, Jaipur.: Page 1 of 1
ASSIGNMENT I
Max.
AQ no. Assignment Question
Marks
AQ1] What do we mean by Wrapper classes? Explain with an example. 1
AQ2] What are Packages? How are they created and used? Name the default 1
package in java.
AQ4] What is path and class path environment variable? How do we set it? 1
AQ6] Make a class Employee with a name and salary. Make a class Manager 1
inherit from Employee. Add an instance variable, named department, of type
String. Supply a method toString that prints the manager’s name, department,
and salary. Make a class Executive inherit from Manager. Supply appropriate
toString methods for all classes. Supply a test program that tests these
classes and methods.
Page 1 of 1