How do I open java console?



How do I open java console?..

Answer / Akhil Kumar

To open the Java console, you can use Command Prompt (Windows) or Terminal (Mac/Linux). After opening, type 'javac YourFileName.java' to compile your code and then 'java YourClassName' to run it. The output will be displayed in the console.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

What is the use of rs next () in java?

1 Answers  


What is @qualifier in java?

1 Answers  


What is the difference between a while statement and a do statement?

1 Answers  


How do I know if I have jre or jdk?

1 Answers  


What about 'hostile applets'? : java security

1 Answers  


Why do we need framework in java?

1 Answers  


Name primitive java types.

1 Answers  


What is jboss in java?

1 Answers  


How can the static main method use instance variables?

1 Answers  


When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?

1 Answers  


What happens if javac is not recognized?

1 Answers  


How do I install java on windows?

1 Answers  


Categories