@nandomendoza
Better start using code tags, with already 14 posts you should by now be aware what they are and how to use them, else the days not far before someone gives you bad rep for not using them at all.
Its as simple as putting your code inside [code=java] and [/code].
And as far as your code is concerned what is "SavitchIn" here :-
str1 = SavitchIn.readLine();
I am sure that you must be aware that you need to declare and initialise any variable in Java before using it. Most probably I assume this is a BufferedReader object for reading text from the console.