Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int[] a = {1,2,3,4,5};
- int[] b = {1,2,3,4,5};
- if (a == b) System.out.println("Els arrays son iguals");
- else System.out.println("Els arrays no son iguals");
- System.out.println("Array A: " + a);
- System.out.println("Array B: " + b);
Advertisement
Add Comment
Please, Sign In to add comment