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

Denise is riding her bike and falls to the ground. During the collision, she hits both grass and cement. Which best explains why Denise had fewer injuries to th
i honestly hate reading i don’t understand it someone please help me with this !!
The mineral calcite (CaCO3) is classified as _____.
What is neutralisation-acid and base?
35 POINT QUESTION PLZ ANSWER A-D
Develop an action plan to deal with each of the following scenarios. a. A friend offers you a cigarette b. You go to a party and see they are serving alcohol c
What is the meaning of "low self-esteem"? Answer truly or I'll report you
Geraldine is picking a four-digit password by using the digits 0 through 9. she can use each digit only once. how many different pass words are possible?
A right triangle has side lengths 5,12, and 13 as shown below.
In a certain triangle ABC , A equals 30°, B equals 50°, and the side AB equals 3 in. Use a protractor and a straightedge to construct the triangle. How many deg