Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x = 5;
- int[] b = {1,2};
- int g =Products.Test(x,b);
- System.out.println(x);
- System.out.println(g);
- for (int o: b
- ) {
- System.out.println(o);
- }
- INNA KLASA
- static int Test(int t, int[] b)
- {
- int w = t + b[0];
- t++;
- b[0]++;
- return w;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement