here is my code:
package program3; public class caesarCipher { public static void main(String[] userString) { //userString is the string supplied by the user as an argument rot13(userString); //call method rot13 to apply the caesar cipher on the string System.exit(0); //exit program } private static void rot13(String[] userString) { char[] rot = new char[10]; rot = userString.toCharArray(); //stores the character from the string currently being ciphered } }
Netbeans gives me an error: "cannot find symbol". I googled a bit and from my understanding it is an issue with class names and the static modifier. I could just copy paste code from there and make it work, but can someone please explain the nuances behind this?
PS : program isn't finished yet