In which way does a Primitive data type is passed ?

Answer Posted / sandeep

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 ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does java se mean?

593


Tell me how many ways are there to initialise an integer with a constant.

650


What are recursive functions? Give some examples?

621


Why do we use predicate in java?

562


What is field name?

588






What is meant by distributed application? Why are we using that in our application?

555


What is a container in a gui?

552


What is broken and continue statement?

535


how would you implement a thread pool? : Java thread

510


Which is easier netbeans or eclipse?

614


What java is used for?

664


Is java ee a framework?

525


What are the different types of data structures in java?

496


What is a vararg?

556


Can you call a method in a method?

537