Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. e
- 2.15 42
- 10 25
- 3. line #2 Missing String, [] args
- line #5 never initialized y
- line 6: You can't call call printer without the correct number of parameters
- line 7: You can't call printer by passing the correct type of parameters
- line 8: Z is in a different scope
- line 11: need to give x a type (double,int)
- line 11: no name for the second parameter
- line 13 bubble was used in main not in printer
- 4.1 3 5
- 1 3 5 7 9 11 13 15
- 1 3 5 7 9 11 13 15 17 19 21 23 25
- 5.1 2 3 4 5
- 1 2 3 4 5 6 7
- 1 2 3 4
- number = 8
- 6.three times two = 6
- 1 times three = 28
- 1 times 1 = 42
- three times 1 = 2
- 1 times eight = 20
- 7. whom and who like it
- it and him like whom
- whom and him like him
- stu and boo like who
- her and him like who
- 8.touch your eye to your head
- touch your head to your eye
- touch your shoulders to your elbow
- touch your eyes and ears to your eyes and ears
- touch your toes to your Toes
- touch your shoulders to your knees toes
- 9.say coke not pepsi or pop
- say soda not soda or pepsi
- say pepsi not koolaid or pop
- say say not pepsi or pepsi
- 10.public static void printStrings(String s, int n) {
- for (int i = 1; i <= n; i++) {
- System.out.print(s);
- }
- System.out.println();
- }
- 11. It is an overloaded method
Advertisement
Add Comment
Please, Sign In to add comment