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 objects are stored in java?
what is abstract class in Java?
Is null false in java?
What is multithreading and its advantages?
What is the purpose of extern variable?
How does queue work in java?
What is the difference between the ">>" and " >>>" operators in java?
What is a nested class?
Does java support multiple inheritance or not?
Tell me are there implementations for sorting and searching in the java libarary?
Write a function to find out longest palindrome in a given string?
How do I get a substring?
How many bytes is 255 characters?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is a programming object?