- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz Python: #oop
14 quiz su #oop, con una spiegazione per ogni risposta.
1
Classi e oggetti
Facile
Scopri come si combinano classi, oggetti, attributi di classe e attributi di istanza.
Python · Python orientato agli oggetti
#oop#classes
10 domande · ~5 min
Da iniziare
Inizia
2
__init__ e self
Facile
Prepara i nuovi oggetti con __init__ e capisci che cos'è davvero self.
Python · Python orientato agli oggetti
#oop#constructors
10 domande · ~5 min
Da iniziare
Inizia
3
Ereditarietà
Medio
Riutilizza ed estendi le classi con ereditarietà, override dei metodi e super().
Python · Python orientato agli oggetti
#oop#inheritance
10 domande · ~6 min
Da iniziare
Inizia
4
Metodi dunder
Difficile
Fai funzionare le tue classi con print, ==, +, len, in, sorted e le chiamate di funzione.
Python · Python orientato agli oggetti
#oop#dunder-methods
10 domande · ~8 min
Da iniziare
Inizia
5
Proprietà e metodi di classe
Difficile
Usa @property, i setter, @classmethod e @staticmethod, ed evita le loro trappole.
Python · Python orientato agli oggetti
#oop#properties
10 domande · ~8 min
Da iniziare
Inizia
4
Python OOP Interview Questions
Medio
Classes, inheritance, super(), name mangling and abstract classes as interviewers ask about them.
Python · Python Interview Questions
#oop#interview
10 domande · ~6 min
Da iniziare
Inizia
1
Prototypes
Difficile
Follow the prototype chain to see where JavaScript finds a property and what happens when you write to one.
JavaScript · Objects, Prototypes & Classes
#prototypes#oop
10 domande · ~8 min
Da iniziare
Inizia
2
Classes & Inheritance
Medio
Practice JavaScript classes, extends, super and the rules about this inside methods.
JavaScript · Objects, Prototypes & Classes
#classes#oop
10 domande · ~6 min
Da iniziare
Inizia
1
Classes & Constructors
Facile
Check how Java creates objects, runs constructors and shares references.
Java · Object-Oriented Java
#oop#classes
10 domande · ~5 min
Da iniziare
Inizia
2
static & final
Medio
Know what belongs to the class, what belongs to each object and what can never change.
Java · Object-Oriented Java
#oop#static
10 domande · ~6 min
Da iniziare
Inizia
3
Inheritance & Polymorphism
Medio
Predict which method runs when a subclass hides behind a parent reference.
Java · Object-Oriented Java
#oop#inheritance#polymorphism
10 domande · ~6 min
Da iniziare
Inizia
4
Abstract Classes & Interfaces
Medio
Know when to use an abstract class, when to use an interface and what each one allows.
Java · Object-Oriented Java
#oop#interfaces#abstract-classes
10 domande · ~6 min
Da iniziare
Inizia
5
equals() & hashCode()
Difficile
Master the equals/hashCode contract and the HashSet and HashMap bugs that break it.
Java · Object-Oriented Java
#oop#interview
10 domande · ~8 min
Da iniziare
Inizia
4
Static vs Instance
Medio
Know what belongs to the class and what belongs to each object, a favorite Java interview topic.
Java · Java Interview Questions
#oop#interview
10 domande · ~6 min
Da iniziare
Inizia