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

What is abstraction in oop?

0 Answers  


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

0 Answers  


What is Iteration Hierarchy? What is what is Object behavioral concept?

1 Answers  


what is mean by design pattern

4 Answers  


What is polymorphism used for?

0 Answers  






Why polymorphism is used in oops?

0 Answers  


c++ program to swap the objects of two different classes

0 Answers  


What is polymorphism and example?

0 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user.

4 Answers   NIIT, TCS,


What is differance between Abstract and Interface

3 Answers  


What is abstraction and encapsulation?

0 Answers  


Categories