SHREYA
SHREYA
POLYTECHNIC, LATUR
_________________________________________
________
ASSIGNMENT
1
Report on online completion course on java
programming
Table of contents:
Java essentials 5
Assessment 7
2
INTRODUCTION
Completing course on Infosys springboard. Completed
course for java Essentials.
3
What is Java ?
Java is an object-oriented programming language used
in distributed environments on the internet. It is a high-
level language that is also easy to read and understand.
With it, developers can “write once, run anywhere”
(WORA), meaning that the compiled Java code will run
on all Java-compatible platforms without the need for
recompilation.
Java Essentials:
Objects: Instances of classes that hold data and
behaviour
Java Class: A blueprint defining attributes (fields) and
behaviors (methods) for objects.
Java Variables: Data storage, including instance
variables, class variables, local variables, and
parameters.
Methods in Java: Functions defined in classes to
perform actions; can take parameters and return values.
Loops: Structures (e.g., for, while) for repeating code
execution.
Conditions: Statements (e.g., if, else) for decision-
making in code.
Java Arrays: Fixed-size collections of elements of the
same type.
4
OOP concepts
The essential concepts in Java are its object-oriented
programming (OOPs) features. OOP simplifies software and
application development as well as maintenance by providing
some concepts such as:
Encapsulation: Bundling data (attributes) and methods
(functions) within a class, restricting direct access to some
components.
Inheritance: Mechanism where a new class (subclass) inherits
properties and behaviors from an existing class (superclass),
promoting code reuse.
Polymorphism: Ability for different classes to be treated as
instances of the same class through method overriding
(runtime) and method overloading (compile-time).
Abstraction: Hiding complex implementation details and
showing only essential features of an object, often achieved
through abstract classes and interfaces.
5
CERTIFICATE :
CONCLUSION: