Home > Technical Interviews > Computer Science & Engineering > Java Programming > Core Questions and Answers
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. |