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

I don't understand how to do this can someone pls help me
How are Osmosis and Diffusion alike?
Los musulmanes crearon el al-andalus.
A cup of coffee is considered a... A) Solute B) Solvent C) Precipitate D) Solution
You need to write an essay about hot air ballooning. You know you've seen a good book on this topic, but you can't remember the name of the book or the name of
If you DNA has two strands is it possible to determine the other with the other?
An 8-ounce can of tomatoes cost $1.14. A 12-ounce can costs $1.75. Which can of tomatoes costs the least per ounce?
why does dr. jekyll think that only the first batch of the drug usually worked?
Atoms that make up matter are held together by what forces ?
Rafael counted a total of 40 white cars and yellow cars. There were 9 times as many white cars as yellow cars. How many white cars did Rafael count?