The print() method doesn't immediately write its output to the underlying stream. Instead, it buffers (memorizes) the data until you write a newline character or you call flush().
It appears you want the user input to appear on the same line as the question you're asking the user. That means you have to call System.out.flush() before you use System.in.
In the future, when you ask a question about some code, please copy and paste the code as text, and put "code tags" around it like [code]this[/code]. Don't post screenshots of code, they make it hard for us to help you.
Welcome to the Ranch! Now if you can just learn the difference between NetBeans and Java.
This wasn't a Netbeans problem, by the way.
As others pointed out, to get your prompt message to display you need to flush System.out. For cases where you want to print a complete line and not wait for input to be typed on the same line you can use System.out.println(), which does a flush() automatically.
And yes, we really do prefer that you paste actual text and not screenshots. It's easier for us to read and doesn't consume as much server resources.
Oh, also, did you realize you mis-spelled "integer"?
Sources may include data from the Fakebook Research Foundation with support from Gargle University
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop