why we r not use pointers in corejava?
Answers were Sorted based on User's Feedback
Answer / arun
First you need to understand the concept of Pointer.
Pointer in C++, gives as reference to object from outside.
if we provide same thing in java, the concept of
Encapsulation will be violate. so java doesn't provide this
feature till 6.0 version. Recently Java added this feature
in java7.0. but they gave different name Clouser, which
give you pointer to function, as Callback in C...
| Is This Answer Correct ? | 15 Yes | 5 No |
Answer / javac
Internally java is based on pointers only.Sun People have
implemented the java utilites using pointer concepts but
they have restricted the developers to use the pointers.so
we cannot use pointers in java.
| Is This Answer Correct ? | 5 Yes | 4 No |
Which method cannot be overridden in java?
What is not thread safe?
Using callable statement how can you pass out parameters, explain with example?
Explain about vector, dictionary,hash table, property classes?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
Why does java doesnt suuport unsigned values?
What are the differences between getting and load method?
What is identifier with example?
What is null data type?
What do you mean by garbage collection used in java?
What is the definition of tree ?
Why char array is favored over string for the storage of passwords?