|
hello makbar24 & other members those replied to this post
Everything is fine in terms of code.
Only u need to compile ur java file in specific manner.
In testinher.java file object of class B created, hence u should compile a file which has B class, means A.java file
and then compile testinher.java
Regards
__________________
Sagar Birari
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|