Asked by JWalker

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));

Answers

System.out.println(Integer.add(2,2));
Answered by f
a) System.out.println(Integer.add(2,2));
There are no AI answers yet. The ability to request AI answers is coming soon!