Global Variable

in Hindi - Global Variable



not yet

Source Code :

RUNpublic class GlobalVariable
{
    
static int a=20,b=11,c; // Global variables
    
public static void main(String args[])
{

c = a + b;

System.out.println("value of c is "+c);

}
}