Java - PowerPoint PPT Presentation

About This Presentation
Title:

Java

Description:

Java is a programming language and a platform.  Java is a high level, robust, object-oriented and secure programming language. – PowerPoint PPT presentation

Number of Views:4
Slides: 13
Provided by: HimaniKathal
Tags:

less

Transcript and Presenter's Notes

Title: Java


1
Power Point Presentation on Topic JAVA
Submitted by Himani Kathal
2
What is java?
  • Java is a programming language and a platform. 
  • Java is a high level, robust, object-oriented and
    secure programming language.
  • Java was developed by Sun Microsystems (which is
    now the subsidiary of Oracle) in the year 1995.
  • Java is platform-independent that means java code
    can be compiled on any operating system and made
    to run on the same or any other operating system.
  • Java supports concurrency which means the code
    can be executed by multiple processes at the same
    time.
  • Java is class-based and object-oriented.

3
Why do we use java?
  • Simplicity Java was developed keeping in mind
    the complexities in other programming languages
    like C or C.
  • Portability As already covered java source code
    can be developed and compiled on one machine and
    can be made to run on the same or any other
    operating system.
  •  Object-Oriented In java, everything is treated
    as an object and all the operations involved in
    application development are completed using these
    objects.
  • Dynamic Capability Applications developed using
    java can adapt them to changing execution
    environment.

4
  • High Security In terms of security java is
    operated on byte code which is not readable in
    nature. It runs source code inside a secured
    sandbox and does not allow any external
    intervention.
  • Robust Java is developed keeping in mind all
    possibilities, and therefore there is no
    existence of the error.
  • Multithreading Java supports creating multiple
    threads for execution thus providing high
    performance.
  • Interpreted The code is converted into byte code
    which in turn is interpreted by java run time
    environment.
  • Performance Java provides high performance as it
    makes use of byte code which can be translated
    into machine code with ease and with high speed.

5
What can we do with Java?
  • Banking and Financial Domain  Banking domain
    makes use of java for handling transactions. It
    performs exceptionally well while handling
    millions of transactions in an efficient way.
  • Web Application Development This refers to
    website development. In web application
    development java provides server-side
    technologies that receive data from front end
    user interfaces and provide data to back end
    logical processing layer and after processing
    data is returned to front end through these
    server-side technologies.

6
  • Gaming Applications It has the support of one of
    the most popular 3D-Engine,which can be used to
    design three-dimensional games.
  • Android Application Development Java is also
    used for the development of android applications.
    Android applications are developed using java
    API.
  • Desktop Applications It is also used to develop
    standalone desktop applications. It has Abstract
    Windowing Toolkit (AWT) to allow GUI development.
  • Big Data Map-reduce framework for handling big
    data processing is written in java.
  • Cloud Applications It provides features that can
    be used to build applications used in Saas, Paas
    and Iaas cloud development.

7
What are the applications of Java?
  • Desktop GUI Application
  • The desktop application can easily develop in
    Java, to support this java provides AWT,
    Swings, and JavaFX.
  • Scientific Application
  • Java supports to scientific application
    development, because of its security powerful,
    robustness features, much scientific application
    based on Java technology like MATLAB.
  • Enterprise Applications
  • For Enterprise application development Java is
    the first choice because of its powerful features
    that match the requirement
  •  

8
  • Web Applications
  • Java used to develop web application  also to
    support the java has provided JSP, Servlet,
    Struts, Spring, hibernate. With the help of the
    technologies, we can easily develop any kind of
    web application based on customer requirements.
  • Mobile Applications
  • A mobile application can easily be developed
    with help of java. In Todays world, every second
    phone has an android OS which is based on Java.

9
How to run and execute program in Java?
  • Code
  • class Simple
  •   
  •     public static void main(String args)
  •   
  •       System.out.println("Hello Java")  
  •       
  •   
  • Output
  • Hello Java

10
  • To compile
  • javac Simple.java
  • To execute
  • java Simple
  • To save file
  • .java extension is used.

11
What are the parameters used in Java program?
  • class keyword is used to declare a class in java.
  • public keyword is an access modifier which
    represents visibility. It means it is visible to
    all.
  • static is a keyword. If we declare any method as
    static, it is known as the static method. The
    core advantage of the static method is that there
    is no need to create an object to invoke the
    static method. The main method is executed by the
    JVM, so it doesn't require to create an object to
    invoke the main method. So it saves memory.
  • void is the return type of the method. It means
    it doesn't return any value.

12
  • main represents the starting point of the
    program.
  • String args is used for command line argument.
    We will learn it later.
  • System.out.println() is used to print statement.
    Here, System is a class, out is the object of
    PrintStream class, println() is the method of
    PrintStream class.
Write a Comment
User Comments (0)
About PowerShow.com