glover2066 glover2066
  • 03-12-2021
  • Computers and Technology
contestada

How to get an object from a container in java.

Respuesta :

khgvyy
khgvyy khgvyy
  • 03-12-2021
If it stores any type of objects mixed, use Object as storage class. All classes inherit from Object and for primitives use their respective wrapper classes. Or just use one of the bazillion container classes that already exist.
Answer Link

Otras preguntas

what type of society did stevenson live in
Why is India considered a subcontinent
Which of the following describes the Conquistadors goals in the New World? Select one: a. Gold - The Conquistadors wanted to get rich b. God - The Conquistadors
why do the two elements silver and iron have different properties?
The crew on fishing boat caught four fish weighing a total of 1092 pounds. The tarpon weighed twice as much as the amberjack and the white marlin weighed twice
Why is man a special creature? What two worlds does he share in?
what is the main functions of lipids?
Which of the following describes the Conquistadors goals in the New World? Select one: a. Gold - The Conquistadors wanted to get rich b. God - The Conquistadors
Name the two lines and the transversal that form each pair of angles
How long does interphase last?