ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
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
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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 ?    15 Yes 0 No
Babu
 
  Re: 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
# 2
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 ?    14 Yes 1 No
Penchala
 
 
 
  Re: 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
# 3
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 ?    5 Yes 2 No
Rajashree
 
  Re: 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
# 4
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 ?    7 Yes 0 No
Ravikiran
 
  Re: 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
# 5
"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 ?    3 Yes 0 No
Rajesh
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is Collections API?  1
How to convert a string to long?  2
What is static and a non-static inner class?  3
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why? KPIT3
Is java supports multiple inheritance? explain? Inforica11
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?  1
How to avoid the runtime exception ?  2
What is synchronization? How it can be achieved?  2
Write a program to create a binary Tree ?  1
Which are thin and thicK wrapper Class's in Java?  1
What is HashTable?  3
how to use this key word in java programming?  5
how to compile jsp? Logica-CMG3
What is Hash Code in Java? Cognizent1
What are the ways of polymorphism other than Overridding & Overloading  1
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading? Satyam2
Can u overload main()method.Give with example. IBM2
how session will be expired ? Satyam2
Difference between Interface & Abstract class?  4
explain System.out.println IBM41
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com