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

PPT
5. Inheritances, Packages and Intefaces
PPT
6. Exception Handling
PPT
2. Basics of Java
PPT
7. Multithreading
PPT
9. Input Output in java
PPT
4. Classes and Methods
PPT
8. String
PDF
Keywords and classes
5. Inheritances, Packages and Intefaces
6. Exception Handling
2. Basics of Java
7. Multithreading
9. Input Output in java
4. Classes and Methods
8. String
Keywords and classes

What's hot (8)

PDF
Methods and constructors
PPT
Object-oriented concepts
PPTX
Ch5 inheritance
PPT
Basic concepts of object oriented programming
PPTX
6. static keyword
PPTX
Introduction to oop and java fundamentals
PPT
GETTING STARTED WITH JAVA(beginner)
PDF
L2 datatypes and variables
Methods and constructors
Object-oriented concepts
Ch5 inheritance
Basic concepts of object oriented programming
6. static keyword
Introduction to oop and java fundamentals
GETTING STARTED WITH JAVA(beginner)
L2 datatypes and variables
Ad

Similar to 1. Overview of Java (20)

PPTX
U1 JAVA.pptx
PPT
L1 basics
PPT
Introduction to oops
PDF
Java programming
PPTX
Basic online java course - Brainsmartlabs
PDF
Genesis and Overview of Java
PPT
Java_notes.ppt
PPTX
cs213Lecture_1 java programming oopsss.pptx
PDF
Evolving systems and the link to service orientation
PDF
Core Java Training in Bangalore | Best Core Java Class in Bangalore
PDF
Top 100 Java Interview Questions with Detailed Answers
PPTX
Introduction to Machine Learning
PPT
Core Java Presentation
PPT
java ppt..ppt for bca student computer application
PPTX
oop unit1.pptx
PDF
Java course syllabus 2016
PDF
Stacked Ensembles in H2O
PPTX
PDF
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
PDF
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
U1 JAVA.pptx
L1 basics
Introduction to oops
Java programming
Basic online java course - Brainsmartlabs
Genesis and Overview of Java
Java_notes.ppt
cs213Lecture_1 java programming oopsss.pptx
Evolving systems and the link to service orientation
Core Java Training in Bangalore | Best Core Java Class in Bangalore
Top 100 Java Interview Questions with Detailed Answers
Introduction to Machine Learning
Core Java Presentation
java ppt..ppt for bca student computer application
oop unit1.pptx
Java course syllabus 2016
Stacked Ensembles in H2O
Lectupopplkmkmkkpompom-0ookoimmire 2.pdf
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Ad

More from Nilesh Dalvi (18)

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

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Institutional Correction lecture only . . .
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Complications of Minimal Access Surgery at WLH
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
O7-L3 Supply Chain Operations - ICLT Program
human mycosis Human fungal infections are called human mycosis..pptx
Computing-Curriculum for Schools in Ghana
Microbial disease of the cardiovascular and lymphatic systems
Institutional Correction lecture only . . .
Final Presentation General Medicine 03-08-2024.pptx
Sports Quiz easy sports quiz sports quiz
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Complications of Minimal Access Surgery at WLH
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Insiders guide to clinical Medicine.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
O7-L3 Supply Chain Operations - ICLT Program

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