You are on page 1of 1

Java Programming

UNIT-2
Classes and Objects
Assignment Questions
1. What do you mean by static class and static method? Explain with example.
2. Explain the constructor and method overloading with example program.
3. Discuss about inner classes.
4. What is an array? How arrays are declared and initialized? Explain with examples.
5. How garbage collector plays its role? Explain.

You might also like