Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

declare id in java

static	int count=0;
		int id=0;
    
    public Car() {
        this.id=count++;
    }
 
PREVIOUS NEXT
Tagged: #declare #id #java
ADD COMMENT
Topic
Name
1+2 =