OOPS Interview Questions
Questions Answers Views Company eMail

what is inline function?

3 6094

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 4344

what is polymorpsim? what are its types?

8 10248

what is function overloading..?

4 5224

what is a binary overloading

2 5723

what is the difference between function template and template of function?explain with example.

2 18985

what is oppes

2 4514

I 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 the difference between class to class type conversion and copy constructor ?

2 5602

Write 7 differences between "Public" function and "Private" function?

IBM, Wipro,

2 16171

what do you mean by static member variable?

2 5515

What is a unary operator?

5 7749

Conversion from a basic type to a class type may be achieved using______________

HCL,

5 20817

A file pointer always contains the __________ of the file

5 11143

difine hierarchical inheritance.

ASD Lab, TCS,

9 26357


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2299


Which language is not a true object oriented programming language?

864


How to call a non virtual function in the derived class by using base class pointer

5892


What is multilevel inheritance?

943


What are the 5 oop principles?

831


write string class as your own class in java without using any built-in function

2206


Can a destructor be called directly?

801


Why do we use class in oops?

744


what is difference between class template and template class?

2393


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.

2811


Which language is pure oop?

746


What is class in oop with example?

829


What is the real life example of polymorphism?

846


why reinterpret cast is considered dangerous?

2101


What is polymorphism and example?

771