Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- //this is a repitition statement
- //
- public class RepititionStatements {
- public static void main(String [] args) {
- //this is a while loop
- int x = 1;
- while (x < 10);
- {
- System.out.println("value of x : " + x);
- x++;
- }
- }
- }
- --copy until here--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement