Issue
I am a beginner studying Java using NetBeans. I created my first class and some simple code:
public class suju {
public static void main(String[] args){
System.out.print("hello word");
}
}
Why don't I see any result when I click run
? I am supposed to see hello world
but nothing like this is shown.
Only a message BUILD SUCCESSFUL (total time: 0 seconds)
Unfortunately, I can't post images yet to better present the problem I am facing.
Solution
Try to right click on the class file on the left panel then choose run option
Answered By - Salman
Answer Checked By - Timothy Miller (JavaFixing Admin)