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

Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
how were north american colonies all similar in the 1700s?
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
The function of the eardrum in the middle ear is to
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa
What were the major causes of WWII? Please include at least 4 answers.
What is the amplitude of y=1/2 sin2x
Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0
Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0