Basic Java Interview Question and Answers
5. | Why Java does not support multiple inheritances? |
---|---|
Java design team stroke to make Java as
|
|
6. | How many types of inheritances does Java support? |
---|---|
Yes, Ok but, basically there are two types of Inheritances are there, they are
|
|
7. | Why java does not support pointers? |
---|---|
Because pointers are unsafe, Java uses reference types to hide pointer and programmers feel easier to deal with reference types without pointers. | |
8. | What is a platform? |
---|---|
|
|