1 package com.twister; 2 public class Mystery { 3 4 public static boolean isEqual(<DataType1> f1, <DataType2>f2){ 5 return f1.equals(f2); 6 } 7 8 public static void main(String[] args) { 9 <DataType3> f1= <value1> 10 <DataType4> f2 = <value2> 11 System.out.println("f1 is equals to f2 : "+ (f1==f2)); //prints true 12 System.out.println("f1 is equals to f2 : "+ isEqual(f1,f2)); //prints false 13 } 14 }