Below are some important Core Java interview questions which are asked in most MNC company interviews for beginners or professionals.
6. What is a pointer and does Java support pointers?
Pointer is a reference handle to a memory location. Improper handling of pointers leads to memory leaks and reliability issues hence Java doesn't support the usage of pointers.
7. What is the base class of all classes?
java.lang.Object
8.Does Java support multiple inheritance?
Java doesn't support multiple inheritance.
9.Is Java a pure object oriented language?
Java uses primitive data types and hence is not a pure object oriented language.
10. Are arrays primitive data types?
In Java, Arrays are objects.
More Questions & Answers :-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8
6. What is a pointer and does Java support pointers?
Pointer is a reference handle to a memory location. Improper handling of pointers leads to memory leaks and reliability issues hence Java doesn't support the usage of pointers.
7. What is the base class of all classes?
java.lang.Object
8.Does Java support multiple inheritance?
Java doesn't support multiple inheritance.
9.Is Java a pure object oriented language?
Java uses primitive data types and hence is not a pure object oriented language.
10. Are arrays primitive data types?
In Java, Arrays are objects.
More Questions & Answers :-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8
No comments:
Post a Comment