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
Get me a number puzzle game-program
Why polymorphism is used in oops?
write knight tour problem which is present in datastructure
What is the difference between inheritance and polymorphism?
What is ambiguity in inheritance?
officer say me - i am offered to a smoking , then what can you say
Can we create object of abstract class?
Templates mean
How is class defined?
Can static class have constructor?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is an example of genetic polymorphism?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is the difference between static polymorphism and dynamic polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?