0% found this document useful (0 votes)
14 views

java lecture 1 (1)

The document provides an overview of programming with Java, including procedural and object-oriented programming concepts, the evolution of Java, and its features. It discusses the differences between procedural programming languages and object-oriented programming languages, as well as Java's architecture and its ability to run on multiple platforms. Additionally, it highlights the history of Java's development and its comparison with C and C++.

Uploaded by

sneha chaudhari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

java lecture 1 (1)

The document provides an overview of programming with Java, including procedural and object-oriented programming concepts, the evolution of Java, and its features. It discusses the differences between procedural programming languages and object-oriented programming languages, as well as Java's architecture and its ability to run on multiple platforms. Additionally, it highlights the history of Java's development and its comparison with C and C++.

Uploaded by

sneha chaudhari
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Programming with

Java

Mrs. Sneha D. Patil


Assistant Professor
Index
 Unit 1 Overview
 What is Procedural programming language?
 What is Object Oriented programming
language?
 Difference between PPL and OOP
 Introduction to Java
 Review of object oriented concepts
 Evolution of Java
 Comparison of Java with c and c++
 Java features
Unit 1 overview
 Review of Object oriented concepts, Evolution of Java, Comparison
of Java with other programming languages,
 Java features,
 Java and World Wide Web, Java Run Time Environment.
 JVM architecture.
 Overview of Java Language, Simple Java Program, Java Program
Structure. Installing and Configuring Java.
 Java Tokens, Java Statements, Constants, variables, data types.
Declaration of variables, Giving values to variables, Scope of
variables,
 Arrays, Symbolic constants, Typecasting
 Getting values of variables, Standard default values, Operators,
Expressions
 Type conversion in expressions
 Operator precedence and associatively, Mathematical functions
 Control statements- Decision making & looping.
Procedural Programming language
 Derived from structured programming, based
upon the concept of calling procedure.
 Procedures, also known as routines, subroutines
or functions, simply consist of a series of
computational steps to be carried out.
 During a program’s execution, any given
procedure might be called at any point, including
by other procedures or itself.
 For eg.
 FORTRAN, ALGOL, COBOL,
 BASIC, Pascal and C.
Object Oriented Programming
language
 programming model which is based upon the
concept of objects.
 Objects contain data in the form of attributes and
code in the form of methods.
 In object-oriented programming, computer programs
are designed using the concept of objects that
interact with the real world.
 The most popular ones are class-based, meaning that
objects are instances of classes, which also determine
their types.
 For eg. Java, C++, C#, Python,
 PHP, JavaScript, Ruby, Perl,
 Objective-C, Dart, Swift, Scala.
Difference between PPL and OOPL
Introduction to Java
 Java is a class-based, object-oriented programming
language that is designed to have as few
implementation dependencies as possible.
 It is intended to let application developers write
once, and run anywhere (WORA), meaning that
compiled Java code can run on all platforms that
support Java without the need for recompilation.
 first released in 1995
 JAVA was developed by James Gosling at Sun
Microsystems Inc in the May 1995 and later
acquired by Oracle Corporation.
Basic Paradigm of OOP
Review of OOP Concepts
Evolution of Java phase 1
 Object-Oriented programming language developed
by James Gosling in the early 1990s.
 The team initiated this project to develop a language
for digital devices such as set-top boxes, television,
etc.
 Originally C++ was considered
 Gosling endeavoured to alter and
expand C++ however before long surrendered that
for making another stage called Green. James
Gosling and his team called their project
“Greentalk”
 Its file extension was .gt and later became to known
as “OAK”.
Evolution of Java Phase 2
 The name Oak was used
by Gosling after an oak tree that
remained outside his office.
 later rename it as “JAVA”
 Came up with several names such
as JAVA, DNA, SILK, RUBY, etc.
 The name Java originates from a sort
of espresso bean, Java
 Trademark by Oak
Technologies. “JAVA”
Comparison of Java with c and c++
Features of Java
Thank
You……!

To be continue………

You might also like