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

PLZ HELP ASAP What is the value of the expression below? Negative 50 + 51
The product of two consecutive integers is less than or equal to 27.
a tower is 50m high its shadow is x meters shorter when the suns altitude is 45 degree than when it is 30 degree,find x correct to the nearest cm
make x subject of m =n + x/p
A ship traveled at an average rate of 25 miles per hour going west. It then traveled at an average rate of 19 miles per hour heading north. If the ship traveled
Which expression is equivalent to 28 + 12? (1 point) 4(7 + 3) 4(24 + 8) 7(4 + 12) 7(21 + 5)
The larger the Word Size of a computer
Read the sentence and choose the option that best answers the question. Los voluntarios de la comunidad tiran o reciclan la basura para mí. Which pronoun would
find the sum of 9 and 20 on number line
Define nebulae (singular nebula)?