Intriducation To Java Programming Language
Intriducation To Java Programming Language
JAVA
PROGRAMMING
LANGUAGE
1. Application program : Stand-alone applications are those java programs that can
be developed and executed on a stand-alone local computer.(which we can
execute from the command prompt). The stand-alone application can be executed
without the browsers (Internet connectivity).A java program is not embedded within
HTML or any other language and can Stand on its own. It is referred to as
Application program.
2. Applet Programs : are small java programs developed for internet applications.
Applets are embedded in HTML documents. Applet programs can be run using the
applet viewer or web browser. For example, when you use java to enhance a
WWW page, the java code is embedded within HTML code. It is called as Applet.
● Object-Oriented Programming System is a paradigm that
provides many concepts, OOps in java is to improve code
OOPS in readability and reusability by defining a Java program
efficiently. The main principles of object-oriented
Java programming are abstraction, encapsulation, inheritance,
and polymorphism. These concepts aim to implement
real-world entities in programs.
● Encapsulation.
● Inheritance. Properties
● Polymorphism. of OOPS
● Abstraction.
● Encapsulation in Java is the process by which data (variables)
and the code that acts upon them (methods) are integrated as a
single unit.
Encapsulatio
n
● Inheritance is one of the key features of OOP that allows us to
create a new class from an existing class. The new class that is
created is known as subclass (child or derived class) and the
Inheritance existing class from where the child class is derived is known as
superclass (parent or base class).
● Polymorphism is the method in an object-oriented programming
language that performs different things as per the object's class,
which calls it. With Polymorphism, a message is sent to multiple
Polymorphis class objects, and every object responds appropriately
m according to the properties of the class.
(IDE)
INTEGRATED
DEVELOPMENT
ENVIRONMENT
All programming languages are a means to communicate with
machines. Machine hardware only responds to electronic
communication. High-level programming languages like Java
act as a bridge between human language and hardware
language. When natural programming languages were first
developed, they fell into two broad categories, depending on
how they communicated with the underlying hardware.