Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
147 B
3
Indexable
Never
public class Item {
	int id;
	static int numberOfItems;
	
	Item(int id){
		this.id = id;
		numberOfItems++;
	}
	
	Item(){
		numberOfItems++;
	}
	
}