POORNIMA UNIVERSITY, JAIPUR.
ASSIGNMENT I
School : School of Computer Science & Engineering (SCE)
Program with Year, : [Link]. CC, II Year, IV Sem
Sem
Course Code : BCC04102 Course : Programming in java
Name
Faculty Name : Suchita Arora
Max. Time: 3 Days. Max. Marks: 6
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.
AQ3] Differentiate between this and super keywords. 1
AQ4] What is path and class path environment variable? How do we set it? 1
AQ5] Difference between array and Arraylist. 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