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

In Sara sees red how does the mountain trail seem different to Sara when she sees the injured woman than it had seem to her in the past
Erika has 3 pieces of ribbon. each piece is 25 yards long she needs to cut pieces that are 22 inches long . What is the greatest number of 22-inch pieces that s
The cost of the paint was $39 per gallon, so if the cost is $4,368, how many gallons did you buy?
what is the answer for 7/10-1/2 in simplest form
What is the main idea of the first stanza of "Auspex"?
The price of a mobile phone decreased from $375 to $250 during a clearance sale. What is the percent of decrease in the price? Round to the nearest percent, if
Joel made some muffins. He gave 1\4 of the muffins to a neighbor.He took 3\8 of the muffins to school.What fraction of muffins is left?
How are proteins made
colonists who wanted the king to say in charge
Josephina likes the service she receives at her favorite cafe and wabts to leave a 20% tip. Her bill is $22.58. what tip should she leave .