Does java support function overloading, pointers, structures, unions or linked lists?



Does java support function overloading, pointers, structures, unions or linked lists?..

Answer / Bushra Khan

Java does not support function overloading (since all methods must have unique signatures), pointers, structures, unions, or linked lists as they are low-level constructs that can lead to complex and error-prone code. Instead, Java provides classes like ArrayList for handling collections, and the class library has data structures analogous to C++'s built-in types.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain about abstract classes in java?

1 Answers  


what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0

2 Answers  


What is run time allocation?

1 Answers   Fidelity,


Hi Friends, I am new to java. Can u explain about thread concept.How i know one thread is locked, and how can i force or acquire another thread for lock . Finally how to know thread is released from lock. Explain types of lock(like method level and block level) in thread.

1 Answers  


how to handle http request in struts

2 Answers   Polaris,


Why do we need hashset in java?

1 Answers  


Why is stringbuffer thread safe?

1 Answers  


watz the difference between abstract class and interface? Which one u ill choose as a designer?

1 Answers   Sonata,


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


Can you have an inner class inside a method and what variables can you access?

2 Answers  


Explain notifyall() method of object class ?

1 Answers  


How do you declare an array in java?

1 Answers  


Categories