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 are parameters in a method?

677


Can we write a class without main method in java?

571


Which java collection does not allow null?

811


List some oops concepts in java?

681


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7629






What is a local, member and a class variable?

662


What is the purpose of skeleton and stub?

685


How does arrays sort work in java?

712


What is the advantage of OOP in java?

766


Can we declare the main method of our class as private?

646


What do you mean by buffering?

658


What is the difference between abstraction and encapsulation?

645


What is sizeof () operator?

645


Can we use catch statement for checked exceptions?

626


How to store image in arraylist in java?

596