MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?import java.util.*; public class ArraylistExample { public static void main(String args[]) { ArrayList object0 = new ArrayList(); ArrayList object1 = new ArrayList(); object0.add("I"); object0.add("P"); object1.add("I"); object1.add(1, "P"); System.out.println(object0.equals(object1)); } } |
| A. | I |
| B. | P |
| C. | L |
| D. | False |
| E. | True |
| Answer» F. | |