What is java ?

Java is an object oriented programming language discovered by James Gosling at Sun Microsystems(A company which was named for its high end Unix workstations) now owned by Oracle. Currently till 01/ 01/2019 it is the most famous programming language in the world reason behind its success is that Java is always be trending since its release in 1995 in starting Java was famous because of its contribution in revolution of INTERNET during 1990s it offers developers to create dynamic AppLets which was use to be bind up with web pages in those days. AppLets was fun for developers as they were same like images but unlike images they were used to be dynamic this was possible when JDK(Java Development Kit) was in beta form. when Java released their Micro Edition many of Games and Applications were created with Java. Later on Java has been signed as one of the official languages for Android Application Development by Google. Why we should learn Java? What are advantages and disadvantages of learning Java ? Where Java is being used ? Which are the famous Applications were created with Java ? How to write programs in Java? Answer to such questions will be given in this post.



Where Java is being used ?

Why we should learn Java ? Learning Java is essential as per the current market trend Java is the most famous programming language in the world reason being it is always the trending language. Java is official language for developing Android Application but it is only in one of its scenario. The following places Java is being used



  • Robotics
  • Android Application Development
  • Artificial Intelligence Technology
  • ATMs
  • Electronic Consumer Devices.
  • Applets
  • Setup Boxes
  • Servlets
  • Web Applications
  • Cloud Computing

  • Including these scenarios mentioned above Java is every where.

    How to create our first Java Program ?

    Let's create our first program with Java. To do that we first need to declare a class with capital letter of every word while naming for example MyFirstProgramme and the file should be save with same class name in this case MyFirstProgramme.java extension after that we need to declare main method inside the main method we will start code our program. Now , Suppose if you want display something on the computer screen with Java then the statement use for the following case is 
    System.out. println();
    Code:
    
    public class MyFirstProgramme {
        public static void main(String args[]){
            System.out.println("I am awesome!");
    }
    }
    
    Output:
    I am awesome!
    Playing with language is necessary so also try some calculations with Java.
    Code:
    
    ... 
       System.out.println(1432*234);
       System.out. println(1400/2);
       System.out.println(100+111);
    ...
    
    Output:
    
    335088
    700
    211
     
    
    Now the class, method, and statement these terms may confuse you 😟😟 Don't worry it is very obvious to having such doubts while new to programming.
    Statements: it is the piece of code which does something
    Method: it is the collection of several statements.
    Class: class is defined as collection of several method.
    I hope you have learn something from this post. feed backs are welcomed if you like the post then please give feedback about the post and don't forget to share the post. if you want to get our newsletters please subscribe to our newsletter.


    Comments

    Popular posts from this blog

    How to create a User Registration System in Python ?

    Honor Magic 2