Java ad oggetti e UML

Quiz
•
Computers
•
10th Grade
•
Hard
Michele Minno
Used 22+ times
FREE Resource
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa permette di fare un costruttore?
Costruire una classe
Costruire un oggetto
Costruire un programma
Costruire un metodo
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cosa NON posso fare se nella classe Student ho il seguente campo:
private int age;
Accedere al campo age di un oggetto di tipo Student nel Main
Accedere al campo age in un metodo della classe Student
Accedere al campo age nel costruttore della classe Student
Modificare il valore di age in un metodo della classe Student
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cosa posso fare se nella classe Student ho il seguente campo:
protected int age;
Accedere al campo age dall'interno di una classe figlia di Student
Accedere al campo age dall'interno di una classe padre di Student
Accedere al campo age dall'interno di una classe 'sorella' di Student (cioè che condivide con Student la stessa classe padre)
Nessuna delle altre tre risposte
4.
OPEN ENDED QUESTION
2 mins • 1 pt
Perché è meglio che i campi di un oggetto siano privati?
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
2 mins • 1 pt
Che differenza c'è tra una composizione ed un'aggregazione in un diagramma UML?
Evaluate responses using AI:
OFF
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quanti costruttori devo definire esplicitamente in una classe?
Al massimo uno
Obbligatoriamente uno ed uno soltanto
Minimo uno
Posso anche non definirne nessuno
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quale delle seguenti affermazioni è vera riguardo a questo diagramma (clicca per ingrandire)?
Ogni A è associato ad un B
Ogni A è associato a più B
Ogni A è associato ad al massimo un B
Ogni A è associato ad uno o più B
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
EXAMEN INFORMÁTICA 3°

Quiz
•
10th Grade
50 questions
Ripasso Informatica Classi Seconde

Quiz
•
10th Grade
50 questions
TEST EXCEL

Quiz
•
9th - 12th Grade
50 questions
HTML

Quiz
•
8th Grade - University
44 questions
Electricidad y electrónica

Quiz
•
6th - 12th Grade
45 questions
VLAN

Quiz
•
10th - 12th Grade
50 questions
Test

Quiz
•
8th Grade - University
45 questions
Prueba Ingresos HFA

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade