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

If two threads have same priority which thread will be executed first ?

837


What are wrapper classes in java?

588


What is parsing in grammar?

547


What is jdbc api?

528


What is toarray method in java?

548






What does serializing data mean?

510


Can arraylist hold different types java?

477


How can you generate random numbers in java?

577


What are assembly attributes?

537


What is string pooling concept?

544


Explain about instanceof operator in java?

598


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

575


describe method overloading

529


Can I learn java without any programming experience?

544


How many threads can I run java?

533