Which of the following is / are valid code?
a) System.out.println(Integer.add(2,2));
b) Float[] ar= new Float[] { new Float(1.0), new Float(2.1)};
c) System.out.println(Integer.toBinaryString(4));
d) System.out.println(Integer.cat(2,2));
e) System.out.println(Integer.toOctalString(4));
2 answers
System.out.println(Integer.add(2,2));
a) System.out.println(Integer.add(2,2));