Java and OOPs Interview Questions
Java and OOPs Interview Questions
=====================================================
1. Basic Java
a. What is programming lang and different programming lang?
b. What is java?
c. What is project, package and Class in Java?
h. What is WORA?
i. What are the applications?
3. Datatypes
a. What are the different things required for storing data in Java?
c. What you thing which one is the good approach to use variable or info
directly in program?
6. Operators
a. What is operator? And types of operators?
9. General Questions –
a. Why java?
d. What is Project?
e. What is package?
f. What is class?
=====================================================
=====================================================
10. Object
a. What is object?
examples?
d. Can final methods be overloaded?
13. Casting
a. What is casting? And different types?
d. Explain upcasting?
e. Explain downcasting
14. Access Modifiers
17. Encapsulation
a. What is encapsulation? With example
them?
d. What is the purpose of using ‘this’ keyword in Java?
e. Final keyword
f. What is Final, Finally and Finalize?
o. What is the keyword used by a Java class to inherit the properties say
variables and methods of another Class?
u. What is system.out.println();
=====================================================