Demo entry 6730997

   

Submitted by anonymous on Apr 10, 2018 at 04:49
Language: Java. Code size: 396 Bytes.

package ExerciseDay9;  
  
public class TestStatic {  
    public void test() {  
          
        System.out.println("ddd");  
    }  
    public void test2() {  
        test();  
        System.out.println("ccc");  
    }  
    public static void main(String[] args) {  
        TestStatic a  = new TestStatic();  
        a.test2();  
        a.test();  
  
    }  
  
}  

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).