SlideShare a Scribd company logo
1 of 20
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

Methods and constructors
Methods and constructorsMethods and constructors
Methods and constructorsRavi_Kant_Sahu
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programmingSachin Sharma
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentalsAnsgarMary
 
GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)HarshithaAllu
 
L2 datatypes and variables
L2 datatypes and variablesL2 datatypes and variables
L2 datatypes and variablesRavi_Kant_Sahu
 

What's hot (8)

Methods and constructors
Methods and constructorsMethods and constructors
Methods and constructors
 
Object-oriented concepts
Object-oriented conceptsObject-oriented concepts
Object-oriented concepts
 
Ch5 inheritance
Ch5 inheritanceCh5 inheritance
Ch5 inheritance
 
Basic concepts of object oriented programming
Basic concepts of object oriented programmingBasic concepts of object oriented programming
Basic concepts of object oriented programming
 
6. static keyword
6. static keyword6. static keyword
6. static keyword
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
 
GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)GETTING STARTED WITH JAVA(beginner)
GETTING STARTED WITH JAVA(beginner)
 
L2 datatypes and variables
L2 datatypes and variablesL2 datatypes and variables
L2 datatypes and variables
 

Similar to 1. Overview of Java

U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptxmadan r
 
Basic online java course - Brainsmartlabs
Basic online java course  - BrainsmartlabsBasic online java course  - Brainsmartlabs
Basic online java course - Brainsmartlabsbrainsmartlabsedu
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java Ravi_Kant_Sahu
 
cs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxcs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxmshanajoel6
 
Evolving systems and the link to service orientation
Evolving systems and the link to service orientationEvolving systems and the link to service orientation
Evolving systems and the link to service orientationAngelo van der Sijpt
 
Core Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in BangaloreCore Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in BangaloreTIB Academy
 
Top 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersTop 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersWhizlabs
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
Stacked Ensembles in H2O
Stacked Ensembles in H2OStacked Ensembles in H2O
Stacked Ensembles in H2OSri Ambati
 
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabScalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabSri Ambati
 
Data mining with Weka
Data mining with WekaData mining with Weka
Data mining with WekaAlbanLevy
 

Similar to 1. Overview of Java (20)

U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
 
L1 basics
L1 basicsL1 basics
L1 basics
 
Introduction to oops
Introduction to oopsIntroduction to oops
Introduction to oops
 
Java programming
Java programmingJava programming
Java programming
 
Basic online java course - Brainsmartlabs
Basic online java course  - BrainsmartlabsBasic online java course  - Brainsmartlabs
Basic online java course - Brainsmartlabs
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
 
cs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptxcs213Lecture_1 java programming oopsss.pptx
cs213Lecture_1 java programming oopsss.pptx
 
Evolving systems and the link to service orientation
Evolving systems and the link to service orientationEvolving systems and the link to service orientation
Evolving systems and the link to service orientation
 
Core Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in BangaloreCore Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in Bangalore
 
Top 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed AnswersTop 100 Java Interview Questions with Detailed Answers
Top 100 Java Interview Questions with Detailed Answers
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Core Java Presentation
Core Java PresentationCore Java Presentation
Core Java Presentation
 
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
 
Java course syllabus 2016
Java course syllabus 2016Java course syllabus 2016
Java course syllabus 2016
 
Stacked Ensembles in H2O
Stacked Ensembles in H2OStacked Ensembles in H2O
Stacked Ensembles in H2O
 
CS8392 OOP
CS8392 OOPCS8392 OOP
CS8392 OOP
 
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science LabScalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
Scalable Ensemble Machine Learning @ Harvard Health Policy Data Science Lab
 
Java Course in Chandigarh
Java Course in ChandigarhJava Course in Chandigarh
Java Course in Chandigarh
 
Data mining with Weka
Data mining with WekaData mining with Weka
Data mining with Weka
 

More from Nilesh Dalvi

10. Introduction to Datastructure
10. Introduction to Datastructure10. Introduction to Datastructure
10. Introduction to DatastructureNilesh Dalvi
 
3. Data types and Variables
3. Data types and Variables3. Data types and Variables
3. Data types and VariablesNilesh Dalvi
 
Standard Template Library
Standard Template LibraryStandard Template Library
Standard Template LibraryNilesh Dalvi
 
Input and output in C++
Input and output in C++Input and output in C++
Input and output in C++Nilesh Dalvi
 
Inheritance : Extending Classes
Inheritance : Extending ClassesInheritance : Extending Classes
Inheritance : Extending ClassesNilesh Dalvi
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator OverloadingNilesh Dalvi
 
Constructors and destructors
Constructors and destructorsConstructors and destructors
Constructors and destructorsNilesh Dalvi
 
Classes and objects
Classes and objectsClasses and objects
Classes and objectsNilesh Dalvi
 
Introduction to cpp
Introduction to cppIntroduction to cpp
Introduction to cppNilesh Dalvi
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops conceptsNilesh Dalvi
 

More from Nilesh Dalvi (18)

14. Linked List
14. Linked List14. Linked List
14. Linked List
 
13. Queue
13. Queue13. Queue
13. Queue
 
12. Stack
12. Stack12. Stack
12. Stack
 
11. Arrays
11. Arrays11. Arrays
11. Arrays
 
10. Introduction to Datastructure
10. Introduction to Datastructure10. Introduction to Datastructure
10. Introduction to Datastructure
 
3. Data types and Variables
3. Data types and Variables3. Data types and Variables
3. Data types and Variables
 
Standard Template Library
Standard Template LibraryStandard Template Library
Standard Template Library
 
Templates
TemplatesTemplates
Templates
 
File handling
File handlingFile handling
File handling
 
Input and output in C++
Input and output in C++Input and output in C++
Input and output in C++
 
Strings
StringsStrings
Strings
 
Polymorphism
PolymorphismPolymorphism
Polymorphism
 
Inheritance : Extending Classes
Inheritance : Extending ClassesInheritance : Extending Classes
Inheritance : Extending Classes
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator Overloading
 
Constructors and destructors
Constructors and destructorsConstructors and destructors
Constructors and destructors
 
Classes and objects
Classes and objectsClasses and objects
Classes and objects
 
Introduction to cpp
Introduction to cppIntroduction to cpp
Introduction to cpp
 
Introduction to oops concepts
Introduction to oops conceptsIntroduction to oops concepts
Introduction to oops concepts
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

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