GeekInterview.com
  I am new, Sign me up!
 

Inheritance Questions and Answers


 Sponsored Links

 
 Inheritance Questions and Answers - Page 6
Sorting Options :  

Yes, Php supports Inheritance.Lets go for an example,Class Pay{      var $Amt=10;      var $M="";      Function CheckAmt($Amt){               ...
Category: PHP   Tags : Inheritance

This is an example of inheritance ....struct parent {  int x;  int y;};struct child {  parent p1;  int a;  int b;};int main(){  struct child c1;  c1.p1.x=50;  printf("%dn",c1.p1.x);  return 0;} ...
Read Answers (2) | Asked by : viswanath
Category: C   Tags : Inheritance

Coz after extends keyword you can specify only one class name, coz no default delimerters are present in java ...
Category: Java   Tags : Inheritance

Java's interface mechanism can be used to implement multiple inheritance, with one important difference from c++ way of doing MI: the inherited interfaces must be abstract. This obviates the need 
class A extends B implements C ...
Category: Java   Tags : Inheritance

When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be part of ...
Category: DotNet   Tags : Inheritance

The process of deriving a new class from an existing class is called Inheritance.   The old class is called the base class and the new class is called derived class.  The derived class inherits some or everything of the base class.  In ...
Category: DotNet   Tags : Inheritance

Multiple inheritance is a feature in C++ by which one class can be of different types. Say class teachingAssistant is inherited from two classes say teacher and Student. 
A derived class if it inherits from more than one direct base class,it is call multiple inheritance. ...
Category: Interests   Tags : Inheritance

Polymorhism: is a feature of OOPl that at run time depending upon the type of object the appropriate method is called.Inheritance: is a feature of OOPL that represents the "is a" relationship 
polymorphism:Behaving differentely at the different placess.Ability to take more than one form.Inhetitance:Aquring the parent properties into child properties.Creating the new class from alredy exiting class.Encapsulation:Wrapping of the methods & ...
Category: Java   Tags : Inheritance

No, use interfaces instead.  
No, Instead of this, we can inheritance the multiple interface,but C++ support multiple inheritance ...
Category: C#   Tags : Inheritance

All properties of existing class are derived 
Some of the properties of the base class are inherited, others are not.Base class objects should be able to refer to the subclass objects. ...
Category: Computer Awareness   Tags : Inheritance

View page << Previous 2 3 4 5 [6] 7 8 9 Next  >>

Ask A Question
Go Top
 Sponsored Links

 
Expert Members
# User Name Count
1mathan_vel 408
2sudhakar2068 390
3srinivasulub1981 380
4sahu 323
5jainbrijesh 283
6sampra 278
7samiksc 231
8Sujatars 206
9Beena 194
10G.D.S.Prasad 191
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape