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

expanded form for 39,005
what is the expanded form for 373,698
The length of a rectangle is 50 meters. This is 6 m more than twice the width. Find the width.
Mark each statement if it describes a key characteristic of Athenian democracy. a. All free males over 18 born to Athenian parents were citizens. b. All citiz
Find all the real square roots of 0.0625
In the late 1800s, experiments using cathode ray tubes led to the discovery of the (1) electron 3. positron (2) neutron 4. proton
explain why is it important to line up decimals numbers by their place value when you add or subtract them
What is the difference between flat, static, dynamic, and round characters?
Which of the following events demonstrates the nativist tendencies of the United States in the 1920s? Choose one answer. a. The feats of Charles Lindbergh and A
what is the expanded form for 373,698