1. What will be the output of the program? public class TestObj { public static void main (String [] args) { Object o = new Object() / Line 5 / { public boolean equals(Object obj) { return true; } } / Line 11 / System.out.println(o.equals("Fred")); } }
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use