Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package xyz;
- public class zzz3 {
- public static void main(String[] args) {
- byte [] a1 = {1,2,3};
- int [] a2 = {1,2,3,4};
- System.out.println(n(a1) +" , "+ i(a2));
- }
- public static int n(byte[] b) {
- return b.length;
- }
- public static int i(int [] i){
- return i.length*4;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement