Java Notes: Java Notes by Ajit Sir... Jspiders/Qspiders BTM Contact: 9980500900
Java Notes: Java Notes by Ajit Sir... Jspiders/Qspiders BTM Contact: 9980500900
Jspiders/Qspiders Btm
Contact : 9980500900
--------------------------------------------------------------------------------------------------------------
What is a platform ?
→ Any software or hardware environment where a program runs is called a platform.
What is a software ?
→ It is a set of instructions or a program.
→ It is an automated solution to a real world challenges or problems.
What is a program ?
→ Program is a set of instructions or code.
What is Java ?
→ Java is a high level object oriented programming language.
Note : JRE of windows system will be different from JRE of MAC system.
Question : What is the shortcut to verify that JAVA is installed in your system ?
----------------------------------------------
How to create a JAVA project ?
1. Launch eclipse
2. File → New → Java Project
Enter a project name as shown below and click on Finish button.
How to create a package under SRC folder ?
Right click on src → new → package
Enter a package name and click on Finish as shown below.
How to create a class ?
Right Click on the package → new → class
In the below window, enter a project name, select the checkbox – public static void
main(Strings[] args) and click on Finish button.
It will create a class as shown below.
Where do we see the compiled .class file ?
Ans :
Under Navigator window pane → under the project → bin folder → package --> class file is
present as shown below.
------------------------------------------------------------------------
Question : What is a Class ?
Association :