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

In a furnace zinc is a gas but lead is a liquid. Suggest why?
Who is associated with the growth of suburbia?
Wen Ti, an emperor of the _______ dynasty, looked to the Han dynasty for methods of control and order. Sui Tang Song Yuan
what is simple subject the saturn rocket made travel to the moon possible
The DNA sequence TTG is changed to TCG and produces a new protein. Which type of mutation is this? a) missense b) nonsense c) silent d) frameshift
Supply the missing reason (s) for the given proof number 14
how to find the equation of a line passesthrough (1,4) and is parallel to y=-4x-5
What effect can fertilizer runoff have on an aquatic ecosystem? a. increased plant growth leading to a decrease in fish populations b. increased plant growth le
wich of the following events occurred Last? A. The Persian Wars begin B. Alexander the Great conquers persia C. The Peloponnesian War ends D. The Trojan War is
What happened as the population grew in western territories? (Points : 3) Many people left and returned to the East. New states such as Colorado, the Dakotas, a