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));
Similar Questions
  1. What type of variable is finalScore in this code?finalScore = float(input("What was your final score?")) (1 point) Responses an
    1. answers icon 1 answer
  2. What type of variable is finalScore in this code?finalScore = float(input("What was your final score?")) (1 point) Responses an
    1. answers icon 1 answer
    1. answers icon 1 answer
    1. answers icon 11 answers
more similar questions