willieshi232

Untitled

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