2. What is Java?
● Java is a general-purpose computer programming
language that is concurrent, class-based, object-
oriented, and specifically designed to have as few
implementation dependencies as possible.
● It is one of the most widely used computer programming
language.
● Java is also widely used for implementing Internet-
based applications and software for devices that
communicate over a network.
3. why use java
● Java is an Object Oriented Programming
Language
● Java has Rich API
● Excellent documentation support - Javadocs
● It is platform independent
4. Editions of Java
Java Standard Edition contains the capabilities needed to develop
desktop and server applications.
Java Enterprise Edition (Java EE) is geared toward developing large-
scale, distributed networking applications and web-based applications.
Java Micro Edition (Java ME) is geared toward developing
applications for resource-constrained embedded devices, such as
smart watches, MP3 players, etc.
5. Definition of Terms
Package: A Java package is a mechanism for organizing Java classes
into namespaces similar to the modules of Modula, providing modular
programming in Java.
Class: The term ‘class’ refers to the actual written piece of code which is
used to define the behavior of any given class.
Object: The term ‘object’, however, refers to an actual instance of a
class. Every object must belong to a class.
Method: A method is a set of code which is referred to by name and can
be called (invoked) at any point in a program simply by utilizing the
method's name.
6. Project Setup
1. Install the Java Development Kit
2. Create your java packages and classes and
save with .java extension
3. Compile your application
4. Then run your code