Guest User

Untitled

a guest
May 4th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. public class ForLoop {
  2. public static void main(String[] args) {
  3. for (int i = 0; i < 2; i++) {
  4. // code to be executed
  5. System.out.println("Hello, world!");
  6. }
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment