OOPS Interview Questions
Questions Answers Views Company eMail

what is inline function?

3 5173

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 3845

what is polymorpsim? what are its types?

8 9199

what is function overloading..?

4 4608

what is a binary overloading

2 5298

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

2 18522

what is oppes

2 3939

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 6339

what is the difference between class to class type conversion and copy constructor ?

2 5196

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

IBM, Wipro,

2 15597

what do you mean by static member variable?

2 5059

What is a unary operator?

5 6892

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

HCL,

5 20028

A file pointer always contains the __________ of the file

5 10279

difine hierarchical inheritance.

ASD Lab, TCS,

9 24792


Post New OOPS Questions

Un-Answered Questions { OOPS }

How is class defined?

568


What is cohesion in oop?

601


Which type does string inherit from?

604


What is abstraction in oops?

570


What are the data types in oop?

592






class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1682


What is the main feature of oop?

604


What does I oop mean?

603


Why do we need polymorphism in c#?

672


What is oops and why we use oops?

560


Which is not an object oriented programming language?

526


What are the important components of cohesion?

542


what is different between oops and c++

1988


How to hide the base class functionality in Inheritance?

626


What is overriding vs overloading?

569