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
How do you invoke a method?
Can a top level class be private or protected?
Explain the polymorphism principle?
Difference between throw and throws?
How transient variable is different from volatile variable?
What is the difference between the size and capacity of a vector?
What isan abstract class and when do you use it?
What is the difference between int and integer in java?
Is final static java?
What do heavy weight components mean in java programming?
How to print nodes of a Binary tree?
What is thread start?
What are different types of states exist for a thread?
Is main a function?
Is void a keyword in java?