COER UNIVERSITY
7th K.M, on Roorkee Haridwar Road(NH-58) Post Box
[Link], Roorkee-247667, [Link]
(UTTARAKHAND) [Link]
LAB SHEETS
Submitted By: Amir Humza
Submitted To: Mr. Ravi poswal
Program: [Link]
Department: CSE
Section: D
Subject Name: Advance Java Programming (BTCS583)
LABSHEET-1
1 . Write a Java program to illustrate the concept of class with method
overloading.
CODE-:
2. Write a program in java to demonstrate the various uses of static keyword.
CODE-:
[Link] a program in java to demonstrate how command line arguments are
handled in java.
[Link] a program in java to demonstrate the concept of dynamic method dispatch.
CODE:-
[Link] a program in java to demonstrate how different types of constructors are
used in java including copy constructor.
CODE:-
LABSHEET 02
1. Write a program in java to demonstrate different uses of super keyword
CODE:-
2. Write a program in java to implement multiple inheritance.
CODE:-
3. Write a program in java to demonstrate the use of finalize () and gc()
method.
CODE:-
4. Write a program to implement a user defined exception which throws an
exception if the input string is not equal to “india”.
CODE:-
5. Write a program to demonstrate use of multiple catch blocks and finally
block.
CODE:-