Define inheritance with reference to java.
Answer / Nidhish Paty Sahay
Inheritance in Java is a mechanism where one class derives properties (fields, methods) from another class. The derived class or subclass can override the inherited methods and provide its implementation. This allows for code reuse and organization.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a string what operation can be performed out with the help of a string?
How do you escape json?
What is replaceall in java?
What is a singleton factory?
What is map and hashmap in java?
jdbc drivers?
Definition for connection pooling?
How does regex work?
What is the difference between normal report & matrix report?
If you do not want your class to be inherited by any other class. What would you do?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx