JAVA INTRODUCTION

GOCOURSE



JAVA Introduction

  • Java is a general-purpose, class-based, object-oriented programming language. 
  • It is a computing platform for application development. Java is fast, secure, and reliable, therefore. 
  • Initially it was launch by Sun Micro systems and then bought buy Oracle
  • Java uses the concept of WORA (Write Once Run Anywhere)

 

It Is Used For:

  1. Desktop application
  2. Mobile application
  3. Games
  4. Web application
  5. Database Connection 

Who Created JAVA Programming:

Java was created by James Gosling and a team of engineers at Sun Microsystems in 1995. It was originally developed as part of a project called "Oak" for interactive television but was later adapted for general-purpose programming. Sun Microsystems was later acquired by Oracle Corporation in 2010.


JAVA Downloading Steps In Windows 



  • Click products and scroll down hardware and software click "java"





  • Scroll down click windows  




 
  • Successfully downloaded java.


JAVA Installation Steps In Windows

  • Open java  Download file loaction  



  • Click jdk installer or open with run as Administrator



  • jdk installer will be run and click next



  • Choose install file loaction and click next 



  • Install process will be started 


  • After finish process click close

  • Installed successfully.

Write A Simple Program And Run 

  • Open Notepad


  • Type a program 
  public class Main 
  {
   public static void main(String[] args) 
   {
     System.out.println("Hello World");
   }
 }


  • Click file and click save or ctrl+s to save your file 




  • Save your file name  to class name. This program class name is "main" so you save file "main.java " 



  • Open save location and type search bar to "cmd" or open "cmd command prompt"


  • Type " javac main.java" to compile a program
  • Type "java  main" to run program
  • Output show successfully "Hello world"






More topic in JAVA

Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send