Question OOP-CLS-0056
MediumWhich is true about objects stored in a Java ArrayList<Student>?
- A.
Objects are converted to strings
- B.
The list holds copies of each object's fields
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Classes and Objects question
Which is true about objects stored in a Java ArrayList<Student>?
Objects are converted to strings
The list holds copies of each object's fields
Sign up free to see the answer and a step-by-step explanation.
Each object is stored on the stack
The list holds references to Student objects on the heap