1.

Which language among the following doesn’t allow pointers?(a) C++(b) Java(c) Pascal(d) CThe question was posed to me during an interview.My enquiry is from Pointer to Objects in section Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

The correct choice is (b) Java

The explanation: The concept of POINTERS is not SUPPORTED in Java. The feature is not given in the LANGUAGE but can be USED in some ways explicitly. Though this pointer is supported by java too.



Discussion

No Comment Found

Related InterviewSolutions