Java Exeptions

Java Exeptions

10th Grade

10 Qs

quiz-placeholder

Similar activities

Calidad y Atributos del Servicio

Calidad y Atributos del Servicio

9th - 12th Grade

12 Qs

ciencia vs ingenieria

ciencia vs ingenieria

1st - 10th Grade

10 Qs

Sistema Binario

Sistema Binario

1st Grade - University

10 Qs

5to B - Generaciones de Computadoras (Componentes y tecnología)

5to B - Generaciones de Computadoras (Componentes y tecnología)

10th - 11th Grade

14 Qs

Sesión 03

Sesión 03

1st - 12th Grade

10 Qs

Access  2013 - 4(consultas)

Access 2013 - 4(consultas)

10th Grade

15 Qs

Repaso Fallas y tecnología

Repaso Fallas y tecnología

1st - 12th Grade

13 Qs

INFO1. Unidad 1 y 2

INFO1. Unidad 1 y 2

10th Grade

10 Qs

Java Exeptions

Java Exeptions

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

STEFANO MURTAS

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?