187k views
0 votes
Which statement is false?

a. The methods for primitive types correspond to the methods for the corresponding type-wrapper classes.
b. Each primitive type has a corresponding type-wrapper class.
c. The type-wrapper classes enable you to manipulate primitive-type values as objects.
d. Type-wrapper classes are final, so you cannot extend them.

User Bwbecker
by
6.6k points

1 Answer

6 votes

Answer:

The correct option to the following question is a.).

Step-by-step explanation:

Because the primitive types does not have the methods.

Wrapper class object contains or wraps the primitive data type.

When we creates the object to wrapper class then, it contain the field and in those fields, we store the primitive data type.

In wrapper class, the object needs to support the synchronization in the multithreading.

Classes which are in java.util packages handle only an objects and hence, the wrapper class help in that case also.

User Mohan Noone
by
5.7k points