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
Is set thread safe java?
What is a class instance variable?
What is the purpose of lambda expressions?
What initialize variables?
Why spring singleton is not thread safe?
What is protected access modifier?
How to remove the trailing spaces from a string?
What is thread pool in java with example?
What is natural ordering in java?
What are structs in java?
Can we start a thread twice in java?
Explain the difference between the public, private, final, protected, and default modifiers?
How does callback work in java?
What does sprintf return?
Why isn’t there operator overloading?