Advertisement
kamandos

HW1

Jun 26th, 2022
888
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None
  1. public class Main
  2. {
  3.     public static void Choursor() {
  4.         System.out.println("There was a time of peace");
  5.     }
  6.    
  7.     public static void main(String[] args) {
  8.        
  9.         System.out.println("There was a time of war\n" + "and ");
  10.         Choursor();
  11.     }
  12.    
  13. }
  14.  
Advertisement
RAW Paste Data Copied
Advertisement