title: Create a Console Application in Java using netbeans?
body: <p>I am .net and java developer but I don't know/remember how to open the windows console in java. What I want is quite simple. 
  Here is the csharp</p>
  
  <pre><code> System.Console.WriteLine("Hello C# 6: how is Roselyn?");
  </code></pre>
  
  <p>and the java</p>
  
  <pre><code> System.out.prinln("Hello Java 8: How do you treat lambda expressions?.");
  </code></pre>
  
  <p>I dont want the java program to show this message within netbean console but I want it to prompt me the windows console as c# do.</p>