What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / amit
class aclass:public superclass (in c#,c++)
class aclass inherit superclass(in vb.net)
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What does and I oop and sksksk mean?
Is this job good for future? can do this job post grduate student?
What is overriding in oop?
What is abstraction with example?
What are the components of marker interface?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is object and class in oops?
What is debug class?what is trace class? What differences are between them? With examples.
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is abstraction and encapsulation?
What is polymorphism what are the different types of polymorphism?
program for insertion ,deletion,sorting in double link list
How long to learn object oriented programming?
What is difference between multiple inheritance and multilevel inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000