Which of the following statements creates an Integer object named countObject from an int variable named count? Question
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Which of the following statements creates an Integer object named countObject from an int variable named count? Question
Which of the following statements creates an Integer objectnamed countObject from an int variable named count? Question 3options: Integer countObject = count; Integer countObject =(Integer) count; Integer countObject = new Integer(count); IntegercountObject = Integer(count); .