Learn Java


I’ve created a new Coffee object called myOrder,what’s my failure?
thanks.

Your error must be in your Beverage class so you need to post the code for that for us to help you.

class Beverage {

public Beverage() {

}

public void isFull() {

	System.out.println("Your order is full!");

}

public static void main(String[] args) {

}

}
this’s my code in Beverage class

Your code is perfectly fine, please report this as a bug on the exact exercise you are on. :slight_smile:

thanks you,i’ve complete,i need to run step by step,it’s a bug

1 Like

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