Guest User

Untitled

a guest
Jun 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1.  
  2. public class q5 {
  3.  
  4.  
  5. public static void main(String[] args) {
  6. int x=1,b=2;
  7. x=change(x,b);
  8. System.out.println("x"+x+" b"+b);}
  9. public static int change(int b,int a){
  10. b=3;
  11. return a;
  12. }
  13.  
  14. }
Add Comment
Please, Sign In to add comment