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

How is 3x-y=8 and x+2y=5 solved by combination (addition)?????
Hassan's backyard swimming pool is 30 feet long, 20 feet wide, and 5 feet deep. There are 7.5 gallons of water in 1 cubic foot. How many gallons of water will t
All of the following are types of lyric poetry except; A. tankas. B. ballads. C. sonnets. D. madrigals.
Square of the complex number (i - 2)?
All of the following are types of lyric poetry except; A. tankas. B. ballads. C. sonnets. D. madrigals.
How is 3x-y=8 and x+2y=5 solved by combination (addition)?????
State whether the following statements are true or false. Justify.(i) For an arbitrary binary operation * on a set N,  a * a = a ,  for all a * N.(ii) If * is a
What is the solution: (9x+2)(4x^2+35x-9)=0
'for a good cause if you are determined you are able to overcome any obstacle'. explain
the length L of a spring is given by L=(3/4)F + 5 where F is applied force. What force F will produce a length of 8?