Multiple choice

Which of the following is correct about the given statement?


Colour c1 = new Colour(284,60,189);

  1. A new colour will be created.

  2. runtime Exception

  3. Parameters are not enough.

  4. Compile time error : cannot find method colour

  5. Compile time error : Colour is abstract cannot create an object

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct answer.