Quiz
Sem título
Perguntas do 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.
Informações
- Descrição
- Quiz sobre Sem título, criado por elizhx em 10-10-2014.
- Autor
- elizhx
- Idioma
- Español
- Visualizações
- 12
- Avaliação
- Ainda sem avaliações Avalie este quiz