Custom Search

Wednesday, February 27, 2013

JAVA


JAVA

JAVA

  1. Java is a computer programming language created by Sun Microsystems. 
  2. Java is used mainly on the Internet and uses a virtual machine which has been implemented in most browsers to translate Java into a specific application on different computer system. 
  3. With most programming languages, you either compile or interpret a program so that you can run it on your computer. 
  4. The Java programming language is unusual in that a program is both compiled and interpreted. The most common Java programs are applications and applets. 
  5. Applications are standalone programs, such as the HotJava browser. 
  6. Applets are similar to applications, but they don't run standalone. 
  7. Instead, applets adhere to a set of conventions that lets them run within a Java-compatible browser.

The Java programming language is a high-level language that can be described as,
  • Architecture neutral
  • Object oriented
  • Portable
  • Distributed
  • High performance
  • Multithreaded
  • Dynamic
  • Secure
As long as a computer has a Java VM (Virtual Machine), a Java program can run on these machines,
  • Windows 2000
  • Linux
  • Solaris
  • MacOS
The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms. 
The Java platform has two components,
  • The Java Virtual Machine (Java VM)
    -compiles and translates Java scripts into Java bytecodes which can be descibed as machine code instructions.
  • The Java Application Programming Interface (Java API)
    - is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface (GUI) widgets. The Java API is grouped into libraries of related classes and interfaces; these libraries are known as packages.
Java can offer these features,
  • Objects - object-oriented technology
  • strings
  • threads, numbers
  • input and output
  • data structures
  • system properties
  • date and time
  • Applets
  • 2D and 3D graphics
  • telephony
  • speech
  • animation
  • electronic signatures
  • private key management
  • access control

No comments:

Post a Comment