What is the correct syntax for inheritance?
1) class aclass : public superclass
2) class aclass inherit superclass
3) class aclass <-superclass
Answer Posted / uuh
Obviously, it depends on which programming language is
being used.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What are classes oop?
what is the drawback of classical methods in oops?
What is abstraction in oops?
What are the 4 main oop principles?
What is polymorphism in oops with example?
What is the difference between static polymorphism and dynamic polymorphism?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
How oops is better than procedural?
What is oops and its features?
What is difference between data abstraction and encapsulation?
What are the three parts of a simple empty class?
what is graphics
What are the three main types of variables?
How to call a non virtual function in the derived class by using base class pointer