Answer Posted / thara
Primitive types are not objects in Java
Many methods are available in the Java library that work
only for objects
Wrapper classes are used to represent primitive data types
as objects.
Boolean, Character, Byte, Short, Integer, Long, Float, and
Double.
Object wrappers for the corresponding native data type.
Object Oriented implementation of the primitive data types
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the difference between a scrollbar and a scrollpane?
Do we have pointers in java?
How do you declare an array that will hold more than 64KB of data?
What is main in java?
What is += mean in java?
What about static nested classes in java?
Can a constructor call another constructor?
How does compareto method work?
What is the finalize method do?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is heterogeneous in java?
What is the advantage of OOP in java?
What is the benefit of singleton pattern?
Enlist few advantages of inheritance?
What is the purpose of using javap?