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();
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

can we make game by using c

1 Answers   SmartData,


What is polymorphism used for?

0 Answers  


Out of 4 concepts, which 3 C++ Follow?

1 Answers   TCS,


Describe these concepts: Polymorphism, Inheritance and Abstraction.

0 Answers   TCS,


What is encapsulation with example?

0 Answers  






what is oops

4 Answers   NIIT,


What is super in oop?

0 Answers  


What is polymorphism and why is it important?

0 Answers  


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

0 Answers  


Precompilation ?

1 Answers   emc2,


What is constructor in oop?

0 Answers  


What is multiple inheritance?

9 Answers   TCS,


Categories