تم الحل ✓
categoryهندسة الحاسبات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
Question 1: Mark the following statements as True or False.
+
ArrayList size can change during running time
ArrayList can be defined as: ArrayList<int> a = new ArrayList();
ArrayList can be defined as: ArrayList<Circle> cList = new ArrayList();
Number of objects of an ArrayList x can be obtain using: x.length();
To replace the second object in ArrayList x, we can use: x.dd(1, obj2)
To remove the last object of ArrayList x, we can use: x.remove(x.size()-1);
If the objects type (for example Point) override the equals method, then the
ArrayList of Points pList.contains(p1) will return true if there is a Point object in
the ArrayList that has same values of pl.
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.