All Introduction of java, programming language ek bar me aap java programming language sik sakte he

  What is JAVA?

 JAVA is a programming language and computing platform first released by sun microsystem in 1995.

There are lost of applications and websites that will not work unless you have java installed, and more created every day.

Java is fast, secure, and reliable. from laptops to datacenters, game consoles to scientific supercomputers, cell phones to the internet, java is everywhere 

Is java free to download?

upr link hai 

 Principles:-

 There were five primary goals in the creation of the java language.

[1]. It must be simple, object-oriented and familiar.

[2]. It must be robust and secure.

[3]. It must be architecture-neutral and portable.

[4]. It must execute with high performance. 

[5]. It must be interpreted, threaded, and dynamic. 

 Types of java Applications:

  There are mainly 5 type of applications that can be created using java programming language.

 πŸ’¬ Standalone Application.

πŸ’¬ Web Application.

πŸ’¬ Enterprise Application.

πŸ’¬ It must execute with high performance.

πŸ’¬  Mobile Application  

 AND Basic Syntax

   About java programs, it is very important to keep in mind the following points.

1. Case sensitivity.

2. class Names.

3. If several words are used to form a name of the class, each inner word's first letter should be in upper case.

 Example class:-

my first java class 

 4. Method Names. 

5. If several words are used to form the name of the method, then each inner word's first letter should be in Upper case.

 Example public void 

MyMethodName()

 6. again File name of program .

7.  .java extension of the use 

8. When saving the file.

(If the file name and the class name do not match your program will not compile).

 Example:-

   Assume 'MyFirstJavaProgram' is the class name.

Then the file should be saved as 'My First java program.java'.

 Public Static Void main(String args[])

 - Java program processing starts from the main() method which is a mandatory part of every java program.

 JAVA PROGRAMMING CODE.

 public static void main (string[] args)

{

system.out.println("hello,World");

}







Comments