what is Inheritense
Answers were Sorted based on User's Feedback
Answer / srinu
The Process of acquring the features from one class to
another class is called inheritance or derviation.
The class who give the feature from that class is called
Parent class.
The Class who take the feature from parent class is called
Child class
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / pavan
Inheritense is just like sub clasing the existing class.By
which we can get the fetures of the existing class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramya
The process of acquring the properties from parent class to child class is known as "inheritance".
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a consumer in java?
What is lifetime variable?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is the console in java?
What do you mean by composition in java?
Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?
What is the difference between jdk and jre?
How big is a 64 bit float?
Is void a data type in java?
What is a null check?
Difference between String & StringBuffer
16 Answers IBM, Infosys, Tech Mahindra, Wipro,
Without creating a new object, How you can retrieve a String or other object?