Whats wrong with my code?

class motorCycle{
int ID_Number;
public void motorcycle(int number){

public void vroom(){

public void speed(int engine){
	System.out.println("my motorcycle goes:" + engine + " " + "miles per hour");

public int getNumber(){
	return ID_Number;

public static void main(String[] args){
	motorCycle hondaCBR = new motorCycle(2090);
	int motorCycleNumber = hondaCBR.getNumber();
	System.out.println("ID Number is:" + motorCycleNumber);


Please post a link to the exercise. Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.