No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]import java.util.Scanner; class ReverseWord { public static void main(String args[]) { Scanner myScanner = new Scanner(System.in); char c1, c2, c3, c4; c1 = myScanner.findInLine(“.”).charAt(0); c2 = myScanner.findInLine(“.”).charAt(0); c3 = myScanner.findInLine(“.”).charAt(0); c4 = myScanner.findInLine(“.”).charAt(0); System.out.print(c4); System.out.print(c3); System.out.print(c2); System.out.print(c1); System.out.println(); } }[/CODE] the code above if you type stop in the windows … |
|
My Code has a problem, either if my first void is static or not i get a error that i cant seem to fix. This is the error i get if the void is static [CODE]Java Compiler By Noj All underpreciated java will soon apear All errors within java files … |