Java Exeptions

Java Exeptions

10th Grade

10 Qs

quiz-placeholder

Similar activities

Programmazione ad oggetti (OOP)

Programmazione ad oggetti (OOP)

10th - 12th Grade

15 Qs

Test su Google Moduli

Test su Google Moduli

2nd Grade - University

12 Qs

Prova Programação Back end

Prova Programação Back end

3rd Grade - University

10 Qs

Quiz sull'Intelligenza Artificiale

Quiz sull'Intelligenza Artificiale

8th Grade - University

10 Qs

Quiz sui Fondamenti di Informatica

Quiz sui Fondamenti di Informatica

7th Grade - University

15 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Attacchi informatici

Attacchi informatici

9th - 12th Grade

10 Qs

Sistema operativo licei QUIZ

Sistema operativo licei QUIZ

9th - 12th Grade

9 Qs

Java Exeptions

Java Exeptions

Assessment

Quiz

Computers

10th Grade

Hard

Created by

STEFANO MURTAS

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale di queste eccezioni è sollevata quando si tenta di convertire una stringa in un numero ma la stringa non è un numero valido?
NumberFormatException
FileNotFoundException
ClassCastException
ArithmeticException

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual è l'eccezione sollevata quando il programma cerca di accedere a un indice di un array che non esiste?
ArrayIndexOutOfBoundsException
IllegalArgumentException
IOException
NullPointerException

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale eccezione viene sollevata quando un programma tenta di aprire un file che non esiste?
FileNotFoundException
NullPointerException
NumberFormatException
IOException

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale eccezione viene sollevata quando si tenta di eseguire un'operazione illegale su un oggetto?
IllegalArgumentException
ArithmeticException
UnsupportedOperationException
ClassCastException

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale eccezione si verifica quando si tenta di eseguire un'operazione aritmetica non valida, come la divisione per zero?
ArithmeticException
ClassNotFoundException
IndexOutOfBoundsException
NumberFormatException

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale eccezione indica che un array è stato creato con una dimensione negativa?
NegativeArraySizeException
ArrayIndexOutOfBoundsException
OutOfMemoryError
NullPointerException

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale eccezione indicata dai programmatori si verifica quando un valore di tipo non è compatibile con un'altra entità durante il cast?
ClassCastException
NumberFormatException
NullPointerException
IOException

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?