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).
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).
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).