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
Answers were Sorted based on User's Feedback
Answer / babu
In general in java language everything is object but
Primitive data types are not objects.We need a conversion
from primitive data type to object .For this conversion
java provides Wrapper classes.
datatype Wrapper class
int-------Integer
float-----Float
double----Double
long------Long
short-----Short
byte------Byte
char------Char
Is This Answer Correct ? | 51 Yes | 3 No |
Answer / penchala
wraper classes that allow primitive types to be accessed
as objects.
These classes are similar to primitive data types but
starting with capital letter.
Number Byte Boolean
Double Short Character
Float Integer
Is This Answer Correct ? | 33 Yes | 4 No |
Answer / ravikiran
wrapper class is the one which will allow the primitive
datatypes to be used as objects.
Jvm is the java virtual machine which will convert the byte
code to user understandable code.
Is This Answer Correct ? | 22 Yes | 0 No |
Answer / rajashree
The Wrapper class represents the base class for a set of
data sources. This class provides library initialization
services and access to the data source servers that the
wrapper supports. The Wrapper class maintains the following
information:
The wrapper name.
The wrapper core library name. The returned name is the
name of the native library that loaded the wrapper.
A WrapperInfo object that contains all of the information
that pertains to this wrapper. This information gets stored
in the federated server's system catalog as a result of
issuing the DDL statements CREATE WRAPPER or ALTER WRAPPER.
The Wrapper class is a wrapper class for the Java API.
JVM (Java Virtual Machine): A Java runtime environment,
required for the running of Java programs, which includes a
Java interpreter. A different JVM is required for each
unique operating system (Linux, OS/2, Windows 98, etc.),
but any JVM can run the same version of a Java program.
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / 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 |
Answer / srihari
Wrapper Class: Wrapper classes are classes which are used to convert primitive data types in to object and access primitive values as an objects.
JVM(Java Virtual Machine): It is used to compile java files and convert .java files to .class files.
We require different JVM's for different OS.
Is This Answer Correct ? | 4 Yes | 1 No |
What is the difference between the synchronized() & static synchronized()?
Is null a value?
What is the purpose of javac exe?
What are loops in java?
How do you reverse a string in java?
What is the size of arraylist in java?
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class?
What is meant by nested loop?
How can you debug the Java code?
If there are two notepad opened and working on it . is this a process or thread? computer based Live Example to differentiate between Thread , Process , and Multi tasking ?
how to identify duplicate values in arraylist
when,where and how to use abstract class and interface