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

What subject do you think I'm going to post today? A. Earth Science B. Math C. Art D. Physics
Find the slope of the line that passes through (9, 6) and (5, 3).
A circular pond with a radius of 1.5 metres has a 20-inch border around it.  If the water is 750mm deep, what is the capacity of the pond to 2 decimal places?
What’s 6 dived by 5
Set A contains 17 elements, set B contains 20 elements, and 6 elements are common to sets A and B. How many elements are in A or B?
How might meditation help Arlene?
you can buy a box of 150 sharpie pens for $165 or a dozen for $13.50
What is the quotient of 61,000 divided by 100,000?
Is 3 : 4 = 6 : 8 proportional ?
You have 150 coins consisting of pennies and dimes, worth a total of $7.80. Howmany pennies do you have ?​