Search Header Logo

Test JAVA - 1

Authored by Franco Corapi

Computers

12th Grade

Used 60+ times

Test JAVA - 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Nel linguaggio Java, a cosa servono i costruttori?

Definire un metodo di un oggetto

Definire il codice per l'implementazione delle interfacce

definire le istruzioni da eseguire quando si istanzia un oggetto

È un metodo particolare per invocare il super()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Il seguente codice è usato per?


class Subclass-name extends Superclass-name

{

//methods and fields

}

Polimorfismo

Incapsulamento

Ereditarietà

nessuna delle precedenti

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Se la Classe Cat estende la classe Animal. quale delle seguenti dichiarazione è NON E' Valida?

Cat x = new Cat();

Animal X = new Animal();

Cat x = new Animal();

Animal x = new Cat();

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quale delle seguenti dichiarazioni è corretta per dichiarare una LinkedList di Stringhe

LinkedList<String>

linkedList(String)

LinkedList[String]

LinkedList{String}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nella terminologia della programmazione orientata agli oggetti, le caratteristiche di un oggetto sono definite da:

attributes

class

instance

methods

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Con quale strumento viene offerta la possibilità di creare nuove classi estendendo classi già esistenti?

incapsulamento

ereditarietà

polimorfismo

astrazione

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cos'è il bytecode

La quantità di memoria allocata dinamicamente

La quantità di memoria allocata staticamente per le code di stampa

Il contenuto di un file di estensione class

il codice ASCII o UNICODE dei singoli Byte

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?