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