JAVA

Subdecks (2)

Cards (41)

  • Java
    A popular programming language used to develop mobile apps, web apps, desktop apps, games and much more
  • Java
    • Created by James Gosling and Patrick Naughton, employees of Sun Microsystems, with support from Bill Joy, co-founder of Sun Microsystems
  • The Beginning of Java
    1. Project born in 1991 by a Sun Microsystems team
    2. Designed a language applicable to small electrical devices
    3. Made a digital remote control with a graphic and animated touch screen
    4. Programmed in a new language called Oak
    5. Project gained ground when American cable operators joined
    6. FirstPerson project had no commercial success
    7. James Gosling unveiled a browser called WebRunner in 1995
    8. WebRunner became HotJava, then java.sun.com officially opened to the public
    9. Name changed to Java, meaning "coffee" in American slang
  • Java versions
    • Version 1 in 1996
    • Version 17 in 2021
  • Java
    • Compiled and Interpreted
    • Platform Independent and Portable
    • Object-Oriented
    • Robust and Secure
    • Distributed
    • Familiar, Simple and Small
    • Multi-threaded and Interactive
    • High Performance
    • Dynamic and Extensible
  • Compiled and Interpreted
    Java combines the power of compiled languages with the flexibility of interpreted languages. The compiler (javac) compiles the source code into bytecode, then the Virtual Machine (JVM) executes this bytecode by transforming it into machine-readable code.
  • Platform Independent and Portable
    A program compiled on one machine can be executed on any other machine, regardless of the OS, as long as there is a JVM installed. The same code will run identically on different platforms, regardless of hardware compatibility or operating systems, with no changes such as recompilation or tweaks to the source code.
  • Object-Oriented
    Java strongly supports Object-Oriented Programming concepts such as encapsulation, abstraction, and inheritance. All the instructions and data in a Java program have to be added inside a class or object.
  • Robust and Secure
    Java has automatic garbage collection, avoids the concept of explicit pointers, and is a strongly-typed language which can help lower the number of bugs in an application, and provides error handling mechanisms.
  • Distributed
    Java allows easily creating distributed and scalable applications that run on multiple nodes by splitting a program into many parts and storing these parts on different computers.
  • Simple and Familiar
    Java has a clean and easy to understand coding style, and is based on existing languages like C++ and incorporates many features from these languages.
  • Multi-Threaded and Interactive
    Java supports thread-based Multitasking, allowing executing multiple threads simultaneously without occupying memory for each thread as all threads share a common memory area.
  • High Performance
    Java bytecodes are highly optimized, allowing the Virtual Machine to execute them much faster than other traditional interpreted programming languages.
  • Dynamic and Extensible
    Java gives the facility of dynamically linking new class libraries, methods, and objects, and can adapt to its evolving environment.
  • Java Runtime Environment
    Allows a software application to function by providing an environment that supports the application, typically an operating system such as Linux, Unix, Microsoft Windows, or macOS.