Subclass is also called:
a) Base Class
b) Child Class
c) Derived Class and Super Class
d) Child Class and Derived Class
e) None of The Above

1 Answer

Answer :

d) Child Class and Derived Class

Related questions

Description : Are constructors inherited? Can a subclass call the parent's class constructor? When?

Last Answer : Ans. You cannot inherit a constructor. That is, you cannot create a instance of a subclass using a constructor of one of it's superclasses. One of the main reasons is because ... developer the ability to override a superclasses constructor you would erode the encapsulation abilities of the language.

Description : A ………………. Is a class whose instances themselves are classes. A) Subclass B) Abstract Class C) Meta Class D) Object Class

Last Answer : C) Meta Class

Description : …………. Is the process of creating new classes, called derived classes from existing classes called base class. A) Inheritance B) Encapsulation C) Polymorphism D) Overloading

Last Answer : A) Inheritance

Description : Describe with examples, passing parameters to base class constructor and derived class constructor by creating object of derived class.

Last Answer : When a class is declared, a constructor can be declared inside the class to initialize data members. When a base class contains a constructor with one or more arguments then it is mandatory for the derived class to have a ... #include class base { int x; public: base(int a) { x=a; cout

Description : What is base class? What is derived class? Give example.

Last Answer : Base class: In inheritance a new class is derived from an old class. The old/existing class is referred as base class whose properties can be inherited by its derived class. Derived class: In inheritance a new ... as well as base class. Example: class base { public: void putb() { cout

Description : Write a program to implement single inheritance. Declare base class employee with Emp_No. and Emp_Name. Declare derived class fitness with height and weight. Accept and display data for one employee.

Last Answer : #include<iostream.h> #include<conio.h> class employee { protected: int emp_no; char emp_name[10]; public: void gete() { cout<< enter employee details ; cin>>emp_no; cin>> ... f.gete(); f.pute(); f.getft(); f.putft(); getch(); }

Description : When the inheritance is private, the private methods in base class are.................. in the derived class (in C++). (A) inaccessible (B) accessible (C) protected (D) public

Last Answer : (A) inaccessible

Description : Which of the following, in C++, is inherited in a derived class from base class ? (A) constructor (B) destructor (C) data members (D) virtual methods

Last Answer : (C) data members

Description : Consider the following two statements: (a) A publicly derived class is a subtype of its base class. (b) Inheritance provides for code reuse. Which of the following statements is correct? (A) Both the statements ( ... ) is correct and (b) is incorrect (D) Statement (a) is incorrect and (b) is correct

Last Answer : Answer: A

Description : ______provides a powerful and natural mechanism for organizing and structuring your software. It also explains how classes inherit state and behavior from their super classes and explains how to derive one class ... the java programming language: a) Object b) Inheritance c) Class d) None of These

Last Answer : b) Inheritance

Description : Most abundant Ig G subclass in the serum is (A) Ig G1 (B) Ig G2 (C) Ig G3 (D) Ig G4

Last Answer : Answer : A

Description : Lice are categorized in subclass as: B A. Apterygota B. Exopterygota C. Endopterygota D. None of these

Last Answer : Exopterygota

Description : Larvae of subclass monogenea are A A. Similar in appearance to adult B. Different in appearance to adults C. Miniature of mature tapeworm D. None

Last Answer : Similar in appearance to adult

Description : While there is (are) only _____ way(s) to send paralleldata, there is (are) three subclass(es) of serial transmission. A) one; two B) two; three C) one; three D) none of the above

Last Answer : one; three

Description : ________ which is a subclass of a linear programming problem(LPP) a. Programming problem b. Transportation problem c. Computer problem d. All of the above

Last Answer : b. Transportation problem

Description : Specialization Lattice stands for (A) An entity type can participate as a subclass in only one specialization. (B) An entity type can participate as a subclass in more than one specialization. ... can participate in one specialization. (D) An entity type that can participate in one generalization.

Last Answer : (B) An entity type can participate as a subclass in more than one specialization.

Description : When a method in a subclass has the same name and type signatures as a method in the superclass, then the method in the subclass .................. the method in the superclass. (A) Overloads (B) Friendships (C) Inherits (D) Overrides

Last Answer : (D) Overrides

Description : Which of the following does not have a super class: a) System b) Lang c) Exception d) Object e) None of The Above

Last Answer : d) Object

Description : Combinations of base units are A. simple units B. derived units C. scalars D. vectors

Last Answer : derived units

Description : Displacement is a A. scalar quantity B. vector quantity C. base quantity D. derived quantity

Last Answer : vector quantity

Description : In terms of constructors, what is the difference between: public MyDerived() : base() an public MyDerived() in a child class?

Last Answer : Nothing

Description : computers are also called personal computers A) Mainframe Computer B) Mini Computers C) Micro Computers D) Super Computers

Last Answer : Answer : C

Description : An IBM system/38 represents the computer class of: A) Small-scale computer B) Medium-scale computer C) Large-scale computer D) Super computer

Last Answer : Answer : A

Description : Which of the following is not a class of computers based on size? A) Mainframe Computers B) Mini Computers C) Micro Computers D) Super Computers

Last Answer : Answer : D

Description : Desktop and Personal computers are also known as_______ (A) Super Computer (B) Quantum Computer (C) Mainframe Computer (D) Micro Computer

Last Answer : (D) Micro Computer

Description : Which of the following differentiates between overloaded functions and overridden functions ? (A) Overloading is a dynamic or runtime binding and overridden is a static or compile time binding. ... function overloading, while redefining a function in a friend class is called function overriding.

Last Answer : (B) Overloading is a static or compile time binding and overriding is dynamic or runtime binding.

Description : What’s the top .NET class that everything is derived from?

Last Answer : System.Object.

Description : What’s the top .NET class that everything is derived from? 

Last Answer : System.Object.

Description : What’s the top .NET class that everything is derived from?

Last Answer : System.Object.

Description : All java classes are derived from A) java.lang.Class B) java.util.Name C) java.lang.Object D) java.awt.Window

Last Answer : D) java.awt.Window

Description : Describe derived class with example.

Last Answer : Derived class: In inheritance a new class is derived from an old class. The new class is referred as derived class. The derived class can inherit all or some properties of its base class. Example: class base { }; class derived: public base { }; 

Description : Write syntax to define a derived class

Last Answer : Syntax: class derived_class_name : visibility_mode/access_specifier base_class_name { class body };

Description : What is constructor? How user can declared constructor in derived class? Explain with example.

Last Answer : Constructor:- Constructor is a special member function which has same name as a class name and is used to initialize object during compile time of program. Declaring constructor in derived class If a base class contains a ... derived d(2,5); d.displaybase(); d.display(); getch(); }

Description : Explain the derived class access by pointer.

Last Answer : When base class and its derived class both contains same function name then the function in base class is declared as virtual using keyword virtual preceding its normal declaration. When a function is made virtual, C ... . Example: #include class Base { public: virtual void show( ) { cout

Description : Explain pointer to derived class with example.

Last Answer : Pointers can be used to point to the base class objects and objects of derived class. Pointers to objects of base class are compatible with pointers to objects of a derived class. Single pointer variable can be made to point ... { int a; public:  void get() { couta; }  void put() { cout

Description : Explain constructor in derived class with suitable example.

Last Answer : When a class is declared, a constructor can be declared inside the class to initialize data members. When a base class contains a constructor with one or more arguments then it is ... one argument. Derived class constructor accepts two values and passes one value to base class constructor.

Description : Stefan's block body radiation law can also be derived from __________ law. (A) Kirchoff’s (B) Planck's (C) Fourier's (D) None of these

Last Answer : (B) Planck's

Description : This English term is derived from the word used in North India for the fermenting sap of the palmyra. It may be used as a generic term for alcohol in some parts of the world and that is perhaps ... mixture of whisky, cloves, cinnamon, lemon juice and honey. What term is used in all these senses?

Last Answer : Toddy

Description : As it places its order for truck tyres with Michelin, South Side Industrial Supply realises that it must also place an order for valve stems and balancing weights for the truck tyres. Here industrial products are characterised as having ____ demand. A)fluctuating B)inelastic C)derived D)joint

Last Answer : D)joint

Description : What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

Last Answer : virtual

Description : The word Abacus is derived from Abax, a word from A) Latin language B) Greek Language C) Sanskrit language D) Ancient Egypt

Last Answer : Answer : A

Description : The term ‘computer’ is derived from A) Greek language B) Sanskrit language C) Latin language D) German language

Last Answer : Answer : C

Description : Robot is derived from Czech word A : Rabota B : Robota C : Rebota D : Ribota

Last Answer : B : Robota

Description : Robot is derived from Czech word A : Rabota B : Robota C : Rebota D : Ribota

Last Answer : B : Robota

Description : Cryptography is derived from the ____word: a) Greek b) French c) Latin d) None of These

Last Answer : a) Greek

Description : ______is the raw material from which useful information is derived: a) Content b) Data c) Word d) None of These

Last Answer : b) Data

Description : Cryptography is derived from the ____word: a) Greek b) French c) Latin d) None of These

Last Answer : a) Greek

Description : The concept derived from ________ level are propositional logic, tautology, predicate calculus, model, temporal logic. A. Cognition level B. Logic level C. Functional level D. All of above

Last Answer : B. Logic level

Description : The name “modem” is derived from (1) modern demarkator (2) modulator demand (3) modern demodulator (4) modulator demodulator

Last Answer : modulator demodulator

Description : According to the Income Tax act of 1961, the age of Super senior Citizens should be _______ A. 60 years B. 70 years C. 80 years D. 75 years E. 65 years

Last Answer : C. 80 years Explanation: According to the Income Tax act of 1961, the age of Super senior Citizens is 80 years.