Default Constructor1

in Hindi - Default Constructor1



not yet

Source Code :

RUNclass Demo{  
 int num=1; 
       
 void show(){
 System.out.println(num);
 }  
 public static void main(String args[]){  
 Demo d=new Demo();  
 d.show();  
 }  
 }