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 is the answer to 8n+16.2=1.6
Relationship B has a greater rate than Relationship A. The graph represents Relationship A. Which table could represent Relationship B? A. Time (weeks) -2- -5-
what is 0.3 repeating as a fraction in simplest form
What stone faced animal was all the rage in 1970?
What are these fractions in simplest form? ( when I do a / it means a "fraction bar" or " over" like 16/30 or 16 over 30, just incase any of you get confused)
Between which pair of numbers is the exact product of 379 and 8?
Write Standard from y=-9/5x+3 ??
is the sun considered a star?
two objects were lifted by a machine. one object had a mass of 2 kilograms and was lifted at the speed of 2 m/s. the other had a mass of 4 kilograms and was lif
Which statement about Shays' Rebellion is false? A. Daniel Shays resigned from the Continental Army. B. Poor farmers could be sent to debtor's prison. C. The ce