affiliate marketing

Tuesday 5 June 2012

JAVA PROGRAMMING QUESTION BANK PART 2

UNIT-2
2-MARKS
1.What are objects?
2.What is a class?(define class)
3.What are instance variables?
4.Give the general form of method declaration?
5.How object are created in C++ and java>Explain with eg.
6.How to access class members of a class?
7.Define constructors?
8.Explain the usage of constructors?
9.What is method overloading?
10.What is static variable?
11.Explain static methods?
12.What ios nesting of methods w.r.t java?
13.What are the types of inheritance possible in java?
14.Explain the usage of inheritance?
15.What is function overloading?
16.When a variable is called a “final” variable and what is its use?
17.What are final methods and final classes?
18.What is finalization?