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
Can bst contain duplicates?
what type of question are asked in thoughtworks pair programming round ?
What is purpose of inheritance?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is byval and byref? What are differences between them?
What polymorphism means?
How do you define a class in oop?
What is the difference between static polymorphism and dynamic polymorphism?
What is encapsulation in oop?
Can static class have constructor?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Can abstract class have normal methods?
what's the basic's in dot net
What is constructor in oop?
What is and I oop mean?