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 need an acrostic poem for homecoming
To what extent was colonial America a land of opportunity
what european mountain range did most crusaders cross
Why did Henry VIII want Parliament to dissolve England's ties to the Catholic Church? a. Henry wanted a male heir b. Henry wanted salvation c. Henry wanted to p
Which of the following is not a power of the United States Congress? A. Levying and collecting taxes B. Establishing and paying for the armed forces C. Enforcin
what occurs when light changes direction after colliding with particles of matter
Why did Henry VIII want Parliament to dissolve England's ties to the Catholic Church? a. Henry wanted a male heir b. Henry wanted salvation c. Henry wanted to p
A circular tabletop has a diameter of 6 feet. What is the area of the table top?
Which equation is a simplified version of 4a + 3b = 6b -9a
Darron uses a family recipe to make hamburgers. If he plans on using 1 1/3 cups of bread crumbs, about how many pounds of hamburgers does Darron need to use to