Python क्विज़: #oop

#oop पर 14 क्विज़, हर जवाब के explanation के साथ।

1 Classes और Objects आसान सीखें कि classes, objects, class attributes और instance attributes आपस में कैसे जुड़ते हैं. Python · Object-Oriented Python #oop#classes 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
2 __init__ और self आसान __init__ से नए objects set up करें और समझें कि self असल में क्या है. Python · Object-Oriented Python #oop#constructors 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
3 Inheritance मीडियम Inheritance, method overriding और super() से classes को reuse और extend करें. Python · Object-Oriented Python #oop#inheritance 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
4 Dunder Methods कठिन अपनी classes को print, ==, +, len, in, sorted और function calls के साथ काम करने लायक बनाएँ. Python · Object-Oriented Python #oop#dunder-methods 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
5 Properties और Class Methods कठिन @property, setters, @classmethod और @staticmethod use करें, और उनके traps से बचें. Python · Object-Oriented Python #oop#properties 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
4 Python OOP Interview Questions मीडियम Classes, inheritance, super(), name mangling and abstract classes as interviewers ask about them. Python · Python Interview Questions #oop#interview 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
1 Prototypes कठिन 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 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
2 Classes & Inheritance मीडियम Practice JavaScript classes, extends, super and the rules about this inside methods. JavaScript · Objects, Prototypes & Classes #classes#oop 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
1 Classes & Constructors आसान Check how Java creates objects, runs constructors and shares references. Java · Object-Oriented Java #oop#classes 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
2 static & final मीडियम Know what belongs to the class, what belongs to each object and what can never change. Java · Object-Oriented Java #oop#static 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
3 Inheritance & Polymorphism मीडियम Predict which method runs when a subclass hides behind a parent reference. Java · Object-Oriented Java #oop#inheritance#polymorphism 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
4 Abstract Classes & Interfaces मीडियम 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 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
5 equals() & hashCode() कठिन Master the equals/hashCode contract and the HashSet and HashMap bugs that break it. Java · Object-Oriented Java #oop#interview 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें
4 Static vs Instance मीडियम Know what belongs to the class and what belongs to each object, a favorite Java interview topic. Java · Java Interview Questions #oop#interview 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें

दूसरे टैग: