need help quick. Output the input backwards.
Heres my code; package javaapplication126; import java.util.Arrays; import java.util.Scanner; public class JavaApplication126 { /** * @param args the command line arguments */ public static void main(String[] args) { System.out.println("Please Enter a word"); Scanner Reply1= new Scanner(System.in); //this is object for input String a=Reply1.next(); //this is renaming the input to a String[] Nope = new String[a.length()]; // stating that length of array System.out.println(Arrays.toString(Nope)); // converting input/array to String. //my output is [null, null, null] when i insert the word 2. // im trying to reverse the word entered and then to display it in its reversed form using arrays. How do i solve the null issue }



