If you want learn Java , lets make simple first program Hello world. This is the way to learn so we have make step be step tutorial .
So what you need to learn ? there is few pre-requisite. But how to check if Java is installed in your computer? Simple open command prompt , type CMD in search bar and enter "javac" is java is installed then you will find some options if you do not find then you have to download install and set up environment. https://www.oracle.com/java/
Now we have to write code somewhere so we need code editor , there is lots of benefits to code editor. you will suggestion what to use and get error message if you make mistake and possible suggestion which lighten your work . There are lots of code editor available. https://www.jetbrains.com/idea/download/download-thanks.html?platform=windows&code=IIC
But we are using eclipse https://www.eclipse.org/downloads/ download according to computer system.
You can watch this same tutorial in Hindi and English language . Please click on below links.
Video in English
Now you can observe as below image that project is created and if you expand by down error you will have src folder , right click on that. Click on new then Class .
Now you can observe that you created class and main method since we have check marked while creating class.
Lets type system.out.println , by using this command in main method will help to write hello world in console. you can remove or keep // TODO Auto-generated method stub. since it marked with two // it means it will ignore this comment. and we will type hello world in '' '' since it is string. we will see this datatype in more detail in next tutorial .And making sure we will add semicolon after (end of) code) otherwise system will through error message.
Now click on Run , it is green error button and observe in console.
Congratulations!!! you have made first easy and simple java program for beginners . For more video tutorial click on this link @amazingcodingtechworld