374,198 views
24 votes
24 votes
Which of the following are true statements about the Java wrapper classes (Select all that apply.): Select one or more: a. Objects of these type are immutable b. Objects of these types are mutable c. The wrapper classes do not have no-arg constructors d. The wrapper classes do have no-arg constructors

User Klein
by
2.7k points

1 Answer

11 votes
11 votes

Answer:

a. Objects of these type are immutable.

Step-by-step explanation:

Java wrapper classes are used to convert data into objects. The primitive data is not object and it does not belong to any class. Therefore Java wrapper classes help the user to convert primitive data into object. These objects are immutable and they have no arg constructor.

User Badr Elmers
by
3.5k points