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

You take a three-question true or false quiz. You guess on all the questions. What is the probability that you will get a perfect score?
Find the area of a sector that has a central angle of 40 and a radius of 2 cm. Round your answer to the nearest 100th. Use 3.14=
Read the excerpt from a student’s essay. From the beginning, Rainsford is an individual who enjoys the hunt and wastes no thought on the animals he kills. On th
Which are steps n the problem- solving process?
Terral prime, an auditing firm, purchases a management information system called alpha duo. most of terral's employees are unfamiliar with the functional aspect
Help I don't know this answer
A farmer kept 96 kilograme of animals feed inhis barn the barn leaked and 1/10 of the feed was waisted , how mych animal feed was left
What made the middle ground a distinctive region of north america?
what does le fleuve qui traverse paris s' appelle mean?
what is the degree of (3x - 8 + 4x^2) - ( 2x-6)