Quiz
Ohne Titel
Fragen in diesem Quiz (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- AA. It will not compile because it does not implement setAngle method.
- BB. It will not compile because ANGLE cannot be private.
- CC. It will not compile because getAngle() has no body.
- DD. It will not compile because ANGLE field is not initialized.
- EE. It will not compile because of the name of the method Main instead of main.
Informationen
- Beschreibung
- Quiz am Ohne Titel, erstellt von elizhx am 10/10/2014.
- Autor
- elizhx
- Sprache
- Español
- Aufrufe
- 12
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz