Multiple choice

Which of the following are constructors for the wrapper Byte class?

  1. Byte(Byte b1);
    Byte(String str1);
  2. Byte(int b1);
    Byte(String str1);
  3. Byte(byte b1);
    Byte(String str1);
  4. Byte(byte b1);
    Byte(string str1);
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

There are two constructors for the Byte class.

1. Byte(byte b1);

  1. Byte(String str1);