Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

type variable java

public class A  
{  
    static int m=100;//static variable  
    void method()  
    {    
        int n=90;//local variable    
    }  
    public static void main(String args[])  
    {  
        int data=50;//instance variable    
    }  
}//end of class   
 
PREVIOUS NEXT
Tagged: #type #variable #java
ADD COMMENT
Topic
Name
6+3 =