How to take Array Input in Java - Code Revise

How to take Array Input in Java - Code Revise