Learn Java


#1


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


#2

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


#3

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


#4

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


#5

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


#6

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