What is a Wrapper class?

Answer Posted / nikhil

Wrapper classes are classes that allow primitive types to
be accessed as objects.

Is This Answer Correct ?    50 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does treeset use compareto?

751


Compare overloading and overriding?

798


How do you define a method?

728


How is hashcode calculated in java?

727


State the merge-sort principle and its time complexity.

761


Can we override the private methods?

746


Can inner class final?

874


What is the purpose of the main method?

756


Does a function need a return?

748


What is multi level inheritance in java?

771


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

861


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

847


In which order the iterator iterates over collection?

785


What is difference between equals and hashcode method?

786


How do you sort in java?

783