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

Is the USA a Federation of States? Or a Republic? or both?
The united States ended it's involvement in the Vietnam war because
write y=(x-7)(x-1) in standard form
When one person influences his or her peer to behave responsibly it is called?
Roberta earns $9.25 per hour at a pizzeria. Write an equation that she can use to find e, her earnings, after h hours.
How did Booker T. Washington believe African Americans should work toward Progressive reforms?
Can someone help me with #14?
I need help with factoring 4n2 + 16n – 84 completely
At 35.0°c and 3.00 atm pressure, a gas has a volume of 1.40 l. what pressure does the gas have at 0.00°c and a volume of 0.950 l? which equation should you use?
Keisha read twice as many books this year as ben read. Subtracting 5 from the number of books keisha and ben read combined gives the number of books sheldon rea