- #1
courtrigrad
- 1,236
- 2
Hello all
I know an interface is even more abstract then an abstract class. Let's say I want to make an interface called Furniture that implements two class called Chair and Table. What does this exactly mean? Can someone please clarify this? Thanks
Now what do i put in the two classes?
Thanks
I know an interface is even more abstract then an abstract class. Let's say I want to make an interface called Furniture that implements two class called Chair and Table. What does this exactly mean? Can someone please clarify this? Thanks
Code:
public interface Furniture {
int quantity;
boolean table;
Code:
public class Chair implements Furniture {
public GetQuant()
Now what do i put in the two classes?
Thanks