Hi Java Gurus,

 

I have started oracle trails in learning java.

 

 

I have 3 classes with bicycle as an object  in mind for implementing interfaces.

I have attached  3 classes and Is there any references to find the solutions for the errors that we face in java apart from stack overflow.

 

1)Bicycleinfo:interface class

2)Bicycle:  methods to execute

2)Bicycleapp : driver code which has main

 

Please fix the below error which i am facing.

 

Exception in thread "main" java.lang.Error: Unresolved compilation problem:

  The type Bicycle must implement the inherited abstract method Bicycleinfo.applyBrakes()

 

  at trail1.Bicycle.applyBrakes(Bicycle.java:14)

  at trail1.Bicycleapp.main(Bicycleapp.java:14)

FacebookTwitterLinkedin
Pin It
Joomla Tutorials for Beginners