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

The amplitude of a mechanical wave shows _____. A. how fast the wave is moving B. how many waves pass a given point in one second C. how many seconds it takes a
Aiko says to find the LCM, you can just multiply the two numbers. As a teacher, how do you respond?​
List 1 inherited trait that is ONLY based on genetics and is NOT affected by the environment in any way.
What is the largest known number called?
Meat is a rich source of Vitamin C, calcium, and other minerals.
HELP ASAP ELA POEM!!!!! I will give brainlist the the first person!!! Write your own poem imitating Mary Oliver poem called "the wild geese" by following this f
Sam says, "All tigers have stripes." Bob says, "I see a tiger!" What conclusion can Sam draw? What Law did he use to reach that conclusion?
What element is in period 4, group 12?
The amplitude of a mechanical wave shows _____. A. how fast the wave is moving B. how many waves pass a given point in one second C. how many seconds it takes a
A bag contains the following marbles: 8 black marbles, 12 blue marbles, 18 brown marbles, and 6 green marbles. What is the ratio of brown marbles to blue marble