GoConqr has a new look! Let us know what you think.

Quiz

Untitled

elizhx 1 question

Take the quiz

Questions in this quiz (1)

  1. 1Given:
    class Triangle{
    public int base;
    public int height;
    private static double ANGLE;
    public static double getAngle();
    public static void Main(String[] args) {
    System.out.println(getAngle());
    }
    }
    Identify the correct statements:
    Select 1 option
    1. AA. It will not compile because it does not implement setAngle method.
    2. BB. It will not compile because ANGLE cannot be private.
    3. CC. It will not compile because getAngle() has no body.
    4. DD. It will not compile because ANGLE field is not initialized.
    5. EE. It will not compile because of the name of the method Main instead of main.

Information

Description
Quiz on Untitled, created by elizhx on 10/10/2014.
Author
elizhx
Language
Español
Views
12
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?