0
I have an error at this line of java program that methed getPrice in class book cannot be applied to given types. Required int
if(BOOK1.getPrice() > BOOK2.getPrice()) { BOOK1 . display(); } else { BOOK2 . display(); }
4 Answers
0
I first post the full code but there are not enough lines
0
Getprice return price.