You are on page 1of 2

JAVA INTERVIEW QUESTIONS FOR 2ND MOCK

______________________________________

1.What is java?
2.why java is called objected oriented programming language?
3.Is java completly 100% oops language?
4.Java architecture?
5.Why java is platform independent?
6.What is Variable?
Defn:
Types:
Explaination:
Real time example:
7.What is Method?
Defn:
Types:
Explaination:
8.what is static ?
9.what is non_static ?
10.What is the difference between static and non-static?
11.Why reference variable?
12.what is constructor?types?rules of constructor?
13.This keyword?
15.what is composition?.what is pass by value?
16.Write a program for pass by reference with a real time example.
17.What is Inheritance?
.Defn:
Explaination:
Types:
Program:
Why inheritance?
Real time example:
18.What is Method Overloading?
Defn:
Explaination:
Program:
Why method overloading?
Real time example:
19.What is Method Overriding?
Defn:
Explaination:
Program:
Real time example:
Why method overriding?
20.Difference between this keyword and super keyword?
21.What is the difference between static and non-static?
22.what is type casting and types and explaintation
23.What is Polymorphism? Explain its types.
Defn:
Explaination:
Types:
Program:
Real time example:
Why RTP?
24.What is Interface and Abstract class?
25.What is marker interface?
26. What is functional interface?
27.When we need to go for interface?
28. When we need to go for abstract class?
29. When we need to go for concrete class?
30.What is the difference between abstract class and Interface?
31.Abstarction?
Defn:
Explaination:
Program:
Real time example:
32.What is encapsulation? And what is java bean class?
Defn:
Explaination:
Types:
Program:
Real time example:

You might also like