MCQs
Total Questions : 10
Answer: Option D. -> All of the above
Answer: Option D. -> All of these
Answer: Option D. -> All of the above
Answer: Option A. -> cell.setCellValue("MAX(C2:C3)")
Answer: Option E. -> All the above
Answer: Option E. -> All of these
Question 7. How many objects will be eligible for garbage collection after line 7?
public class TutorialGC
{
public static void main(String [] args)
{
Object a = new Integer(100); // Line1
Object b = new Long(100); // Line2
Object c = new String(\"100\"); // Line3
a = null; // Line4
a = c; // Line5
c = b; // Line6
b = a; // Line7
// Rest of the code here
}
}
public class TutorialGC
{
public static void main(String [] args)
{
Object a = new Integer(100); // Line1
Object b = new Long(100); // Line2
Object c = new String(\"100\"); // Line3
a = null; // Line4
a = c; // Line5
c = b; // Line6
b = a; // Line7
// Rest of the code here
}
}
Answer: Option B. -> 1
Answer: Option D. -> All of the above
Answer: Option D. -> All of the above
Answer: Option A. -> XSSFCell.Cell_Type_Numeric