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));
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
Answered by
System.out.println(Integer.add(2,2));
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!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.