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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
In which way does a Primitive data type is passed ?
 Question Submitted By :: Harsha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: In which way does a Primitive data type is passed ?
Answer
# 1
Primitive data types are 'passed by value'.
 
Is This Answer Correct ?    4 Yes 1 No
Harsha
 
  Re: In which way does a Primitive data type is passed ?
Answer
# 2
Primitive data type are passed using wrapper classes. This
class provide us an object view of primitive types.
e.x.
Integer i=new Integer(3);
 
Is This Answer Correct ?    1 Yes 1 No
Sandeep
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Name the methods in mouse listeners ?  3
what is private constructor?what are the uses of writing private constructor in our program?  5
why interfaces are faster than abstract classes?  2
How can you reverse a string?  4
what is the difference between static block and static method Huawei9
What are concepts of OOPS and how are they implemented in Java? KPIT2
Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1 Huawei3
Where the CardLayout is used?  1
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.  2
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?  2
Why we use static and synchronized in method for single thread model example: public static synchronized add(){}  1
what is use of session tracking ?with example? Photon1
What is difference between hash mapping and hash table? NDS3
How many statements can be created with one connection in jdbc? Polaris2
What are the OOPS concepts in Java ? Satyam3
How many times garbage collector will invoke an object?s finalize() method?  4
Is it compulsory to have atleast one abstract method in abstract class?  7
how session will be expired ? Satyam2
Does 'true' and 'false' are keywords?  5
How Applets & Servlets will communicate with each other?  2
 
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