Quote Originally Posted by trainee_j View Post
i need help coz i am very new to java....please give me simple beginners examples of inheritance in java?
If you're very new you can wait with inheritance for a while. Concentrate on class basics instead.

First learn how to decompose a problem into an appropriate set of interacting classes. Then it becomes much easier to grasp the higher abstractions Java supports.