for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
2 4344what is the difference between function template and template of function?explain with example.
2 18985I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
1 6706
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Which language is not a true object oriented programming language?
How to call a non virtual function in the derived class by using base class pointer
What is multilevel inheritance?
What are the 5 oop principles?
write string class as your own class in java without using any built-in function
Can a destructor be called directly?
Why do we use class in oops?
what is difference between class template and template class?
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.
Which language is pure oop?
What is class in oop with example?
What is the real life example of polymorphism?
why reinterpret cast is considered dangerous?
What is polymorphism and example?