Child cObj = new Parent()
Wahts the output ?
Answer Posted / aditya
Its java syntax where there is no pointers.
So its dynamic method dispatch which is same as virtual
functions of c++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is enum a class?
What is basic concept of oop?
What is solid in oops?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
explain sub-type and sub class? atleast u have differ it into 4 points?
What type of loop is a for loop?
What are the 3 principles of oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is class and object in oops?
Why is oop useful?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is difference between pop and oop?
What is difference between multiple inheritance and multilevel inheritance?
What are different oops concepts?
i got a backdoor offer in process global,Bangalore..Can i work with it?