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

Explain access modifiers in java.

568


Why is serialization required?

526


What is use of valueof () in java?

543


State the merge-sort principle and its time complexity.

559


What does function identity () do?

502






what is daemon thread and which method is used to create the daemon thread? : Java thread

515


What is the method to expand and collapse nodes in a jtree?

598


What are the super most classes for all the streams?

1154


What is qualitative variable?

512


Does string is thread-safe in java?

578


What is a pattern what is an anti pattern?

496


Can you give few examples of final classes defined in java api?

547


What are unchecked exceptions in java?

596


What is the difference between the file and randomaccessfile classes?

518


what is difference betweem home interface and remote interface?

2101