AS

old index list


 
TDL Index

Question- Describe the concept of constructors in java with suitable examples.

 

A constructor in Java is similar to a method that is invoked when an object of the class is created.

Question. Explain the concept of new and delete in C++. सी++ में न्‍यू एवं डिलीट कीवर्ड का विवरण दीजिए।


New Operator and Delete Operator

Question. Explain the purpose of using interfaces(सारांश) in java. जावा में इंटरफेस(सारांश) का उपयोग करने के उद्देश्य की व्याख्या करें।


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.

Question: Describe concept of multiple inheritance with suitable examples in c++. उपयुक्‍त उदाहरण के साथ सी++ में मल्‍टीपल इनहेरीटेंस को समझाइए?

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. 

Fast Index