What do u mean by wrapper Class?
What do u mean by Jvm... How do u change JVM for other OS?
Or No need to Change ...? its like tricky

Answer Posted / rajesh

"Wrapper class" has two meanings.
A class with a similar name to a primitive type, which
encapsulates the value of that primitive, and provides
methods which relate to that sort of primitive.
A class which calls methods of something else, and adds an
additional layer of functionality.
The first sort includes Integer, Double, etc, and there are
(I think) also classes like Void. Also an interface called
NullType.

In the 2nd sort you could have a List and surround it with
a class which calls all the List methods, but makes sure
that all the calls become thread-safe. Look in the
Collections class for methods like synchronizedList.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by inner class in java? Explain

587


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

615


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

627


Which sorting is used in arrays sort in java?

585


how do I create a runnable with inheritance? : Java thread

507






What is passing by reference in java?

537


Which is better list or arraylist in java?

495


What is argument in java?

538


What is the use of math abs in java?

549


What is the difference between an array and an array list?

500


What is meant by vector class, dictionary class, hash table class, and property class?

683


What is Recursion Function?

641


How do you print array in java?

554


Can inner class final?

633


What is contract between hashcode and equal method?

566