TDL Index
Question- Describe the concept of constructors in java with suitable examples.
Index
A constructor in Java is similar to a method that is invoked when an object of the class is created.
← Previous Post
Loading...
Next Post →
Loading...
Question. Explain the concept of new and delete in C++. सी++ में न्यू एवं डिलीट कीवर्ड का विवरण दीजिए।
Index
New Operator and Delete Operator
← Previous Post
Loading...
Next Post →
Loading...
Question. Explain the purpose of using interfaces(सारांश) in java. जावा में इंटरफेस(सारांश) का उपयोग करने के उद्देश्य की व्याख्या करें।
Index
1) To achieve security - hide certain details and only show the important details by using De-Coupling of an object (interface). So interface deals between client & Developers.
← Previous Post
Loading...
Next Post →
Loading...
Question: Describe concept of multiple inheritance with suitable examples in c++. उपयुक्त उदाहरण के साथ सी++ में मल्टीपल इनहेरीटेंस को समझाइए?
Index
Multiple Inheritance (A Class drived from Multiple classes अनेकों क्लासेस से बनी एक क्लास):- Multiple Inheritance in C++ allows a child class to inherit properties or behavior from multiple base classes. Therefore, it is the process that enables a derived class to acquire member functions, properties, characteristics from more than one base class.
← Previous Post
Loading...
Next Post →
Loading...