class box_example { public static void main(String args[]) { box a = new box(3,2,1); box b = new box(4,1,1); boolean flag = a.CanEnclose(b); System.out.println(flag); } }