why java does not contain pointers?
Answer Posted / diapk kumar sinha
Java has no need to contain pointers because, Because Java
is developed for fully system independent language, so in
the presence of pointer it may not perform like fully system
independent language. And the main thought is that removing
pointer is for security purpose and make it fully system
independent language to work at any platform.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the use of volatile field modifier?
What are the principle concepts of oops?
When do we use hashset over treeset?
What is meant by main method?
What are methods in java?
How do I start learning java?
What super () does in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
Describe 2 different ways to concatenate two strings.
What is the difference between a synchronized method and a synchronized block?
Can I import same package/class twice?
What are the basic interfaces of java collections framework?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
Can we have 2 main methods in java class?
What is the difference between the ">>" and " >>>" operators in java?