Bash terminal run java code

can anyone tell me why my java code results like this :grin::laughing:
" x is 51achilles@achilles-HP-EliteDesk-800-G1-DM:~/HeadFirstJava/chapter1$ " instead of printing like this achilles@achilles-HP-EliteDesk-800-G1-DM:~/HeadFirstJava/chapter1$
x is 51 --> this is the java code executed
achilles@achilles-HP-EliteDesk-800-G1-DM:~/HeadFirstJava/chapter1$

any help would be appreciated!

ha ha disregard I figured it out.. had to print and empty string at the end of java program to seperate the command line it was a coding problem and not an ubuntu