Arrays in Java:declaration ●Declaration Oint]arr, OPerson[]persons; OAlso support:int arr[];Person persons[] (confusing,should be avoided) ●Creation Oint[]arr new int[1024]; ○int[00arr={{1,2,3},{4,5,6}}; OPerson[]persons new Person[50];Arrays in Java: declaration lDeclaration ¡int[] arr; ¡Person[] persons; ¡Also support: int arr[]; Person persons[]; (confusing, should be avoided) lCreation ¡int[] arr = new int[1024]; ¡int [][] arr = { {1,2,3}, {4,5,6} }; ¡Person[] persons = new Person[50];