Given the code fragment:

What is the result?
Given:

Which two code fragments can be inserted at line n1?
Given:

Which code fragment should you use at line n1 to instantiate the dvd object successfully?

Given:
public class Painting {
private String type;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public static void main(String[] args) {
Painting obj1 = new Painting();
Painting obj2 = new Painting();
obj1.setType(null);
obj2.setType("Fresco");
System.out.print(obj1.getType() + " : " + obj2.getType());
}
}
What is the result?
Given the code fragment:

Which code snippet at line 9 prints true?

Given the code fragment:

Which code fragment, when inserted at line n1, enables the App class to print Equal?

Given the code fragment:
for (int ii = 0; ii < 3;ii++) {
int count = 0;
for (int jj = 3; jj > 0; jj--) {
if (ii == jj) {
++count;
break;
}
}
System.out.print(count);
continue;
}
What is the result?
Given the code fragment:

Which two modifications should you make so that the code compiles successfully?

Given:
Class A { }
Class B { }
Interface X { }
Interface Y { }
Which two definitions of class C are valid?



