In this tutorial, we are going to see how to use the java -version command to check the current version of java installed on your computer.
How to check Java version:
1. Open your command prompt in Windows or your terminal in Linux.
In this case, JDK “1.8.0_121” is installed on my computer.
MCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More