Vous êtes sur la page 1sur 3

Sentence Level Definitions:

______________________________________________________________________________
An algorithm is a step-by-step procedure or formula for solving a problem or for performing
calculations.
Compression is a technique used by software developers to reduce the size of data in order to
save space or transmission time.
A Computer is a device that accepts information and manipulates it for some result based on
a program or sequence of instructions on how the data is to be processed.
Java is an object oriented programming language expressly designed for use in the distributed
environment of the Internet.
A regular expression (regex) is a way for a computer user or programmer to express how a
computer program should look for a specified pattern in text and then what the program is to do
when each pattern match is found.

Extended Definition:
______________________________________________________________________________
What is Java?
Java- is a high-level computer programming language and computing platform expressly
designed for use in the distributed environment of the Internet.
Java was developed in 1995 by James Gosling of Sun Microsystems specifically for networkheavy environments such as internet and enterprise intranets, it is a major part of
the information infrastructure being developed all over the world.
Java was originally called OAK, and was designed for handheld devices and set-top boxes. Oak
was unsuccessful so in 1995 Sun changed the name to Java and modified the language to take
advantage of the World Wide Web. Oracle acquired Sun Microsystems in 2010 and therefore
Java is now maintained and distributed by Oracle.
Java is an object-oriented language, meaning its programs are built with 'modules' of which can
be employed in building new programs without having to rewriting the same code.

Java is similar to C++, but simplified to eliminate language features that cause common
programming errors. However unlike C++ it is an interpreted language and therefore has
longer execution time than the compiled languages, although the gap has considerably narrowed
over the last few years.
Java source code files, files with a .java extension, are compiled into a format called byte code,
files with a .class extension, which can then be executed by a Java interpreter. Compiled Java
code can run on most computers because Java interpreters and runtime environments exist for
most operating systems including UNIX, the Macintosh OS, and Windows. Unlike Windows
executables (.EXE files) or Macintosh applications (.APP files), Java programs are not run
directly by the operating system. Instead, Java programs are interpreted by the Java Virtual
Machine, or JVM, which runs on multiple platforms and is available as a free download.

Java is a fast, secure, and reliable general purpose programming language with a number of
features that make the language well suited for use on the World Wide Web. Small Java
applications are called Java applets and can be downloaded from a web server and run on your
computer by a Java-compatible web browser, such as Netscape Navigator or Microsoft Internet
Explorer. Java applets are programs that are embedded in other applications, typically in a Web
page displayed in a web browser. Here is an example of a Java applet:
// Hello.java
import javax.swing.JApplet;
import java.awt.Graphics;
public class Hello extends JApplet {
public void paintComponent(final Graphics g) {
g.drawString("Hello, world!", 65, 95);
}
}
The import statement allows pre-written classes to be referenced from the Java Application
Interface (API). The basic function of this code snippet is to write the words Hello World! to
the screen.

Vous aimerez peut-être aussi