You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InsertAt.java 354B

1234567891011121314151617181920212223
  1. package test2;
  2. public class InsertAt {
  3. public int counter = 0;
  4. public int foo() {
  5. for (int i = 0; i < 3; i++)
  6. counter++;
  7. return counter;
  8. }
  9. public int bar() {
  10. return bar2(7);
  11. }
  12. public int bar2(int k) {
  13. int i = 1;
  14. int j = i + 3;
  15. k += i + j;
  16. return k;
  17. }
  18. }