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 slope of these points: (0,14) and (2,10)? Explain nicely please.
2. What is the equation of a line parallel to y = -5x + 3 that passes through (3, 1)?
The days of training a new employee needs are normally distributed with a population standard deviation of 3 days and an unknown population mean. If a random sa
11 You deposit $1200 in an account. The annual interest rate is 3%. How long will it take you to earn S108 in simple interest?
Use the Factor Theorem to determine if x – 2 is a factor of g(x) = 2³ − 5x²+x+2
What were Father and Jack searching for when they spotted the buffaloes? (Swiss Family Robinson)
Peter has 30 pens and Tony has 14 pens .How many pens must Tony give Peter so that Peter shall have 3 times as many as Tony?​
whats a blank verse?
Determine the sum of the arithmetic series 6 + 11 + 16 +...... 91.
yooooooooooooooooooooooooooooooooo i need help pleasee