public class MainClass{ public static void main(String args[]){ Long LA = new Long( 7 ) ; Long LB = new Long( 7 ) ; if( LA == LB ) System.out.println("Equal"); else System.out.println("Not Equal"); } }