SlideShare a Scribd company logo
IntroductionIntroduction
By
Nilesh Dalvi
Lecturer, Patkar-Varde College.Lecturer, Patkar-Varde College.
http://www.slideshare.net/nileshdalvi01
Java and Data StructuresJava and Data Structures
Introduction
• Java is a object-oriented programming
language.
• Related to C++, which is an offspring of
C-Language.
• Much of the characteristics of Java
inherited from C-Language & C++.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
C-Language C++
Java
Syntax Oops features
History of Java
• General purpose object-oriented language
developed by sun microsystems in 1991.
• It is initially called ‘oak’, was
renamed as ‘Java’ in 1995.
• Originally designed to develop software
for consumers electronic devices like
toasters, TVs, etc.
• First language that is not tied to any
particular H/W or OS
• Java is platform-neutral language.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
A first simple program
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
/*
This is simple Java Program
Call this file "Example.Java".
*/
public class Example
{
//Your proram begins with a call to main().
public static void main(String args [])
{
System.out.println("Hello World!");
}
}
History of Java
• General purpose object-oriented language
developed by sun microsystems in 1991.
• It is initially called ‘oak’, was
renamed as ‘Java’ in 1995.
• Originally designed to develop software
for consumers electronic devices like
toasters, TVs, etc.
• First language that is not tied to any
particular H/W or OS
• Java is platform-neutral language.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Running Java Programs
• Compiling..
D:>javac Example.java
• Running..
D:>java Example
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – I: Core Java
– Features of Java
– JVM
– Data Types
– Variables
– Arrays
– Operators
– Control Statements
– type-casting
– Classes
– Objects and
Methods
– Constructor,
– method overriding,
– finalize methods.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – II: Derived Concepts
– Inheritance
– Packages and Interfaces
– Exception Handling
– String handling
– Multithreaded Programming
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – III: Java I/O
– Creating File
– Creating Directories
– Creating Directories
– Stream Classes
• Byte Streams
– InputStream
– OutputStream
– FileInputStream
– FileOutputStream
– ByteArrayInputStream
– ByteArrayOutputStream
– Filtered Byte Streams
– Buffered Byte Streams
– SequenceInputStream
– PrintStream
– RandomAccessFile
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – III: Java I/O
– Creating File
– Creating Directories
– Creating Directories
– Stream Classes
Character Streams
– Reader
– Writer
– FileReader
– FileWriter
– CharArrayReader
– CharArrayWriter
– BufferedReader
– BufferedWriter
– PushbackReader
– PrintWriter
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Data Structures
• Data may be organized in many
different way.
• A Data Structure is an arrangement
of data in a computer memory or on
disk a disk.
• Logical or mathematical model of a
particular organization of data is
called data structures.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – IV: Data Structures
Complexity and analysis of algorithms
– algorithm
– time and space complexity
– asymptotic notations
Types of data structures
– Arrays
• Properties of Arrays
• Duplicating an Array
• sequential search algorithm
• binary search algorithm
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – IV: Data Structures
Stacks-
• Stack Operations,
• indexed Implementation,
• Linked Implementation, ,
• Applications - recursion,
Queue -
• Queue Operations,
• indexed Implementation,
• Applications,
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – V: Data Structure
– Linked Lists –
• representation
• traversing
• searching
• insertion
• deletion
– Hash table –
• hashing functions
• collision-resolution
techniques
– Trees-
• Binary Trees
• traversing binary
tree
• traversing
algorithm using
stacks
• binary search trees
( insertion and
deletion)
• AVL trees
• B trees
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Syllabus
Unit – VI: Data Structure
– Heaps –
• insertion and deletion
– Sorting –
• selection
• bubble
• merge
• tree
• radix
• insertion
– Graphs –
• graph theory,
• sequential
representation,
• adjacency matrix,
• path matrix,
• Warshall’s algorithm,
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Practical's
• Should contain at least 10
practical's.
• Covering all syllabus.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Obtaining Required Tools
notepad ++ or Edit Plus
JDK 7
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Java Development Kit (JDK)Java Development Kit (JDK)
Course Texts
• Core Java for Beginners, Sharanam Shah
and V Shah, The X Team SPD.
• Java 2 Complete Reference, 5th Edition ,
Osborne , Tata-McGrawhill.
• Data Structures,S Lipschutz, Tata-
McGrawhill.
• Data Structures with Java, 2nd edition,
J Hubbard, Tata-McGrawhill.
Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
Q & A

More Related Content

What's hot (8)

PDF
Methods and constructors
Ravi_Kant_Sahu
 
PPT
Object-oriented concepts
BG Java EE Course
 
PPTX
Ch5 inheritance
HarshithaAllu
 
PPT
Basic concepts of object oriented programming
Sachin Sharma
 
PPTX
6. static keyword
Indu Sharma Bhardwaj
 
PPTX
Introduction to oop and java fundamentals
AnsgarMary
 
PPT
GETTING STARTED WITH JAVA(beginner)
HarshithaAllu
 
PDF
L2 datatypes and variables
Ravi_Kant_Sahu
 
Methods and constructors
Ravi_Kant_Sahu
 
Object-oriented concepts
BG Java EE Course
 
Ch5 inheritance
HarshithaAllu
 
Basic concepts of object oriented programming
Sachin Sharma
 
6. static keyword
Indu Sharma Bhardwaj
 
Introduction to oop and java fundamentals
AnsgarMary
 
GETTING STARTED WITH JAVA(beginner)
HarshithaAllu
 
L2 datatypes and variables
Ravi_Kant_Sahu
 

Similar to 1. Overview of Java (20)

PPTX
U1 JAVA.pptx
madan r
 
PPT
L1 basics
Akshay Gupta
 
PPT
Introduction to oops
Umamaheshwariv1
 
PDF
Java programming
Trinity Dwarka
 
PPTX
Basic online java course - Brainsmartlabs
brainsmartlabsedu
 
PDF
Genesis and Overview of Java
Ravi_Kant_Sahu
 
PPT
Java_notes.ppt
tuyambazejeanclaude
 
PPTX
cs213Lecture_1 java programming oopsss.pptx
mshanajoel6
 
PDF
Evolving systems and the link to service orientation
Angelo van der Sijpt
 
PDF
Core Java Training in Bangalore | Best Core Java Class in Bangalore
TIB Academy
 
PDF
Top 100 Java Interview Questions with Detailed Answers
Whizlabs
 
PPTX
Introduction to Machine Learning
Rahul Jain
 
PPT
Core Java Presentation
Arpitkhandelwal62
 
PPTX
oop unit1.pptx
sureshkumara29
 
PDF
Java course syllabus 2016
Softroniics india
 
PDF
Stacked Ensembles in H2O
Sri Ambati
 
PPTX
CS8392 OOP
DhanalakshmiVelusamy1
 
PDF
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
rtreduanur247
 
PDF
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Sri Ambati
 
PDF
Java Course in Chandigarh
Excellence Academy
 
U1 JAVA.pptx
madan r
 
L1 basics
Akshay Gupta
 
Introduction to oops
Umamaheshwariv1
 
Java programming
Trinity Dwarka
 
Basic online java course - Brainsmartlabs
brainsmartlabsedu
 
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Java_notes.ppt
tuyambazejeanclaude
 
cs213Lecture_1 java programming oopsss.pptx
mshanajoel6
 
Evolving systems and the link to service orientation
Angelo van der Sijpt
 
Core Java Training in Bangalore | Best Core Java Class in Bangalore
TIB Academy
 
Top 100 Java Interview Questions with Detailed Answers
Whizlabs
 
Introduction to Machine Learning
Rahul Jain
 
Core Java Presentation
Arpitkhandelwal62
 
oop unit1.pptx
sureshkumara29
 
Java course syllabus 2016
Softroniics india
 
Stacked Ensembles in H2O
Sri Ambati
 
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
rtreduanur247
 
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Sri Ambati
 
Java Course in Chandigarh
Excellence Academy
 
Ad

More from Nilesh Dalvi (18)

PPT
14. Linked List
Nilesh Dalvi
 
PPT
13. Queue
Nilesh Dalvi
 
PPT
12. Stack
Nilesh Dalvi
 
PPT
11. Arrays
Nilesh Dalvi
 
PPT
10. Introduction to Datastructure
Nilesh Dalvi
 
PPT
3. Data types and Variables
Nilesh Dalvi
 
PPT
Standard Template Library
Nilesh Dalvi
 
PPT
Templates
Nilesh Dalvi
 
PPT
File handling
Nilesh Dalvi
 
PPT
Input and output in C++
Nilesh Dalvi
 
PPT
Strings
Nilesh Dalvi
 
PPT
Polymorphism
Nilesh Dalvi
 
PPT
Inheritance : Extending Classes
Nilesh Dalvi
 
PPT
Operator Overloading
Nilesh Dalvi
 
PDF
Constructors and destructors
Nilesh Dalvi
 
PDF
Classes and objects
Nilesh Dalvi
 
PDF
Introduction to cpp
Nilesh Dalvi
 
PDF
Introduction to oops concepts
Nilesh Dalvi
 
14. Linked List
Nilesh Dalvi
 
13. Queue
Nilesh Dalvi
 
12. Stack
Nilesh Dalvi
 
11. Arrays
Nilesh Dalvi
 
10. Introduction to Datastructure
Nilesh Dalvi
 
3. Data types and Variables
Nilesh Dalvi
 
Standard Template Library
Nilesh Dalvi
 
Templates
Nilesh Dalvi
 
File handling
Nilesh Dalvi
 
Input and output in C++
Nilesh Dalvi
 
Strings
Nilesh Dalvi
 
Polymorphism
Nilesh Dalvi
 
Inheritance : Extending Classes
Nilesh Dalvi
 
Operator Overloading
Nilesh Dalvi
 
Constructors and destructors
Nilesh Dalvi
 
Classes and objects
Nilesh Dalvi
 
Introduction to cpp
Nilesh Dalvi
 
Introduction to oops concepts
Nilesh Dalvi
 
Ad

Recently uploaded (20)

PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
How to Configure Access Rights of Manufacturing Orders in Odoo 18 Manufacturing
Celine George
 
PPTX
How to Manage Promotions in Odoo 18 Sales
Celine George
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
DOCX
A summary of SPRING SILKWORMS by Mao Dun.docx
maryjosie1
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PDF
'' IMPORTANCE OF EXCLUSIVE BREAST FEEDING ''
SHAHEEN SHAIKH
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
How to Configure Access Rights of Manufacturing Orders in Odoo 18 Manufacturing
Celine George
 
How to Manage Promotions in Odoo 18 Sales
Celine George
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
community health nursing question paper 2.pdf
Prince kumar
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
Dimensions of Societal Planning in Commonism
StefanMz
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
A summary of SPRING SILKWORMS by Mao Dun.docx
maryjosie1
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
'' IMPORTANCE OF EXCLUSIVE BREAST FEEDING ''
SHAHEEN SHAIKH
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 

1. Overview of Java

  • 1. IntroductionIntroduction By Nilesh Dalvi Lecturer, Patkar-Varde College.Lecturer, Patkar-Varde College. http://www.slideshare.net/nileshdalvi01 Java and Data StructuresJava and Data Structures
  • 2. Introduction • Java is a object-oriented programming language. • Related to C++, which is an offspring of C-Language. • Much of the characteristics of Java inherited from C-Language & C++. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W). C-Language C++ Java Syntax Oops features
  • 3. History of Java • General purpose object-oriented language developed by sun microsystems in 1991. • It is initially called ‘oak’, was renamed as ‘Java’ in 1995. • Originally designed to develop software for consumers electronic devices like toasters, TVs, etc. • First language that is not tied to any particular H/W or OS • Java is platform-neutral language. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 4. A first simple program Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W). /* This is simple Java Program Call this file "Example.Java". */ public class Example { //Your proram begins with a call to main(). public static void main(String args []) { System.out.println("Hello World!"); } }
  • 5. History of Java • General purpose object-oriented language developed by sun microsystems in 1991. • It is initially called ‘oak’, was renamed as ‘Java’ in 1995. • Originally designed to develop software for consumers electronic devices like toasters, TVs, etc. • First language that is not tied to any particular H/W or OS • Java is platform-neutral language. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 6. Running Java Programs • Compiling.. D:>javac Example.java • Running.. D:>java Example Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 7. Syllabus Unit – I: Core Java – Features of Java – JVM – Data Types – Variables – Arrays – Operators – Control Statements – type-casting – Classes – Objects and Methods – Constructor, – method overriding, – finalize methods. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 8. Syllabus Unit – II: Derived Concepts – Inheritance – Packages and Interfaces – Exception Handling – String handling – Multithreaded Programming Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 9. Syllabus Unit – III: Java I/O – Creating File – Creating Directories – Creating Directories – Stream Classes • Byte Streams – InputStream – OutputStream – FileInputStream – FileOutputStream – ByteArrayInputStream – ByteArrayOutputStream – Filtered Byte Streams – Buffered Byte Streams – SequenceInputStream – PrintStream – RandomAccessFile Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 10. Syllabus Unit – III: Java I/O – Creating File – Creating Directories – Creating Directories – Stream Classes Character Streams – Reader – Writer – FileReader – FileWriter – CharArrayReader – CharArrayWriter – BufferedReader – BufferedWriter – PushbackReader – PrintWriter Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 11. Data Structures • Data may be organized in many different way. • A Data Structure is an arrangement of data in a computer memory or on disk a disk. • Logical or mathematical model of a particular organization of data is called data structures. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 12. Syllabus Unit – IV: Data Structures Complexity and analysis of algorithms – algorithm – time and space complexity – asymptotic notations Types of data structures – Arrays • Properties of Arrays • Duplicating an Array • sequential search algorithm • binary search algorithm Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 13. Syllabus Unit – IV: Data Structures Stacks- • Stack Operations, • indexed Implementation, • Linked Implementation, , • Applications - recursion, Queue - • Queue Operations, • indexed Implementation, • Applications, Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 14. Syllabus Unit – V: Data Structure – Linked Lists – • representation • traversing • searching • insertion • deletion – Hash table – • hashing functions • collision-resolution techniques – Trees- • Binary Trees • traversing binary tree • traversing algorithm using stacks • binary search trees ( insertion and deletion) • AVL trees • B trees Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 15. Syllabus Unit – VI: Data Structure – Heaps – • insertion and deletion – Sorting – • selection • bubble • merge • tree • radix • insertion – Graphs – • graph theory, • sequential representation, • adjacency matrix, • path matrix, • Warshall’s algorithm, Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 16. Practical's • Should contain at least 10 practical's. • Covering all syllabus. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 17. Obtaining Required Tools notepad ++ or Edit Plus JDK 7 Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 18. Java Development Kit (JDK)Java Development Kit (JDK)
  • 19. Course Texts • Core Java for Beginners, Sharanam Shah and V Shah, The X Team SPD. • Java 2 Complete Reference, 5th Edition , Osborne , Tata-McGrawhill. • Data Structures,S Lipschutz, Tata- McGrawhill. • Data Structures with Java, 2nd edition, J Hubbard, Tata-McGrawhill. Nilesh Dalvi, Lecturer@Patkar-Varde College, Goregaon(W).
  • 20. Q & A