Session 5

Source Code

import java.util.*;

public class Session5 {
    public static void main(String[] args) {
        System.out.println("Session 5");
        // example1 method call
    
        
        // example2 method call  
      
    
    }
    // example1 method definition
    public static void example1() {
      // Create Counter object
      
      // Increment counter
      
      // Print counter variable
      
      // Reset counter value
      
      // Print counter value (again)
      
      // click twice and print the value
      
      // 
    
    }
    
    // example2 method definition
    public static void example2() {
    
    }
}

Last updated

Was this helpful?