Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LittleClass {
- public int doThingOne(){
- int numTimes=6;
- int multiplier=5;
- numTimes+=1;
- for (int i=0; i<numTimes; i++){
- System.out.println(multiplier*i);
- }
- return numTimes;
- }
- public void doThingTwo(){
- int occurrences=3;
- int timeser=10;
- System.out.println("Doing thing two");
- for (int i=0; i<occurrences; i++){
- System.out.println(timeser*i);
- }
- System.out.println("Done thing two");
- }
- }
Add Comment
Please, Sign In to add comment