Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Bike{
- final void run(){
- System.out.println("running...");}
- }
- class Honda extends Bike{
- public static void main(String args[]){
- new Honda().run();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement