Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Video Lecture Series on

Java Programming

Mr. Namdeo Anwat


Nikita Education,
Diploma Engineering Classes,
Near Govt. Poly. Nashik.
Mob: 7350009884 / 9422474233
Email: namdeo.anwat@gmail.com
Video Lecture Series Covers…
• Introduction & Features of Java
• Classes & Objects
• Packages & Interfaces
• Multithreaded Programming & Exception Handling
• Graphics Programming & Internet
• File I/O & Collection Framework
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 2
Chapter 1: Introduction & Features
• OOPS: Features, Benefits, Comparisons
• Java: History, Features, Applications
• Java Data Types & Operators
• Java Control Statements
– Decision Making Statements
– Loop Control Statements
– Jump Control Statements
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 3
Features of OOPS
• Class : Collection of Objects or Template for data members

14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 4


Features of OOPS
• Class : Collection of Objects or Template for data members
• Object: Basic Runtime Entity

14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 5


Features of OOPS
• Class : Collection of Objects or Template for data members
• Object: Basic Runtime Entity
• Abstraction: Hiding background details
• Encapsulation: Wrapping up of data into single unit

14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 6


Features of OOPS
• Class : Collection of Objects or Template for data members
• Object: Basic Runtime Entity
• Abstraction: Hiding background details
• Encapsulation: Wrapping up of data into single unit
• Inheritance: Object acquires the properties of another object
• Polymorphism: Ability to take more than one form
• Dynamic binding, Message passing, Reusability
• Modularity, Resilience to change
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 7
Benefits of OOPS
• Reusability
• Data hiding
• Reduced complexity of a program
• Easy to maintain and upgrade
• Message passing
• Modifiability
• Security
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 8
Comparisons: POP vs. OOP
Procedure Oriented Programming Object Oriented Programming
Program is divided into Functions Program is a collection of Objects
Importance is for functions and Importance is given for data rather than
sequence of actions functions
Follows top down approach Follows bottom up approach
POP does not have access OOP has access specifiers such as public,
specifiers private, protected etc.
POP doesn’t support OOPS
OOP supports OOPS features
features
Example: C, FORTRAN, Pascal Example: C++, JAVA, VB.NET, C#.NET.
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 9
Comparisons: C++ vs. Java
C++ Java
Extension of C with object
Pure object oriented language
oriented behavior
Provides template classes Does not provide template classes

Global variables can be used Does not support global variables

Concept of pointer is used No pointers used in java


One step compilation process Two step process i.e. Compilation and
Interpretation
Less secure More secure
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 10
Features of Java
• Simple & Object Oriented
• Platform Independent & Portable
• Robust & Secure
• High Performance
• Distributed
• Multithreaded
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 11
Components of Java
Java

JDK JRE

javac jar jvm bytecode


Java virtual machine
javap jdb
java javah
14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 12
Mr. Namdeo A. Anwat
Nikita Education,
Diploma Engineering Classes,
Near Govt. Poly. Nashik.
Mob: 7350009884 / 9422474233
Email: namdeo.anwat@gmail.com

14 September 2021 NIKITA EDUCATION / 7350009884 / namdeo.anwat@gmail.com 13

You might also like