Homework Clinic

Science Clinic => Computer Science => Programming and Graphic Design => Topic started by: jjjetplane on Aug 30, 2020

Title: It is possible to sort an array of int, float, double or String, but not an array of an Object class ...
Post by: jjjetplane on Aug 30, 2020

Question 1

In Java, an array can only store one type of data.  For instance, you cannot create an array that stores both double and String values.
◦ true
◦ false

Question 2

It is possible to sort an array of int, float, double or String, but not an array of an Object class such as a CD class.
◦ true
◦ false
Title: It is possible to sort an array of int, float, double or String, but not an array of an Object class ...
Post by: bitingbit on Aug 30, 2020

Answer 1

true

Answer 2

false