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
What is the default size allocated for array in the statement if size not specified " int a[] "
What is polymorphism ? Explain with examples
What is polymorphism give a real life example?
What is the expansion of OOPS?
Why do we use inheritance?
Is abstract thinking intelligence?
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
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.
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
What is the difference between an object and a class?
What are oops methods?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?