Aarian Intasel interview question

OOPS concept in JAVA Explain with i=real time example.