There are many in built methods in java, which can work only on
_______ and not on ______ where ______ can be used.
(Wrapper class/Objects/Primitives)
Answers
Answered by
23
Answer:
there are many inbuilt methods in Java which can work only on objects and not on wrapper class where premises can be used.
hope it will help you but I am not sure
Answered by
0
There are many in built methods in Java, which can work only on objects and not on wrapper class where primitives can be used.
Objects in Java
Java programming is based on objects each objects will have identity, state and behavior.
Wrapper class
It converts the primitive into objects and vice versa. A primitive value can be wrapped into to a wrapper class object.
Example: int, char, float and among others
Primitives
They are predetermined data types defined by the programming language.
There are eight primitives namely:
- int
- byte
- float
- short
- double
- Boolean
- char
- long
#SPJ2
Similar questions