0% found this document useful (0 votes)
17 views7 pages

OOP CS3391 UNIT-1[Lecture Note-1]

The document includes motivational quotes emphasizing self-belief and positivity, followed by an introduction to Object-Oriented Programming (OOP) and Java. It outlines the syllabus for a course on OOP, detailing key concepts such as data types, control statements, and class definitions in Java. Additionally, it contrasts Procedure-Oriented Programming (POP) with OOP, highlighting the characteristics and drawbacks of POP.

Uploaded by

RajeeshKumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views7 pages

OOP CS3391 UNIT-1[Lecture Note-1]

The document includes motivational quotes emphasizing self-belief and positivity, followed by an introduction to Object-Oriented Programming (OOP) and Java. It outlines the syllabus for a course on OOP, detailing key concepts such as data types, control statements, and class definitions in Java. Additionally, it contrasts Procedure-Oriented Programming (POP) with OOP, highlighting the characteristics and drawbacks of POP.

Uploaded by

RajeeshKumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Quotes for the day

"Believe in yourself;
you are braver than you think,
more talented than you know,
and capable of more than you
imagine"
"Start each day with a Positive
thought, and a Grateful Heart"
"The secret of getting ahead, is
getting started".

Do what you love, love what you


do. And with all your heart give
yourself to it.
"Your limitation; it's only your
imagination"
A bird sitting on a tree is never afraid of
the branch breaking, because the trust is
not in a branch but in her own wings.
Always believe in Yourself !
CS3391 - Object Oriented Programming
UNIT - I
INTRODUCTION TO OOP AND JAVA

SYLLABUS
Overview of OOP – Object oriented programming paradigms – Features of
Object Oriented Programming – Java Buzzwords – Overview of Java – Data
Types, Variables and Arrays – Operators – Control Statements – Programming
Structures in Java – Defining classes in Java – Constructors – Methods –
Access specifiers – Static members – Java Doc comments
General information

1. Java is a popular high-level, object-oriented programming language,


which was originally developed by Sun Microsystems and released in
1995.
2. Currently, Java is owned by Oracle and more than 3 billion devices
run Java.
3. Java runs on a variety of platforms, such as Windows, Mac OS, and
the various versions of UNIX.
4. Today Java is being used to develop numerous types of software
applications including Desktop Apps, Mobile apps, Web apps, Games,
and much more.
1.1 Overview of OOP &Object oriented programming paradigms
Programming paradigms
All computer programs consist of two elements code and data. The programming
languages are mainly categorised in to two programming paradigms
1. Procedure-Oriented Programming
2. Object-Oriented Programming

1.Procedure-Oriented Programming:
Procedure-Oriented Programming is a conventional programming which consists of
writing a list of instructions for the computer to follow and organizing these
instructions into groups known as Functions (or) Procedures (or) subroutines
(or)Modules.
Example: A program may involve the following operations:
 Collecting data from user (Reading)
 Calculations on collected data (Calculation)
 Displaying the result to the user (Printing)
Characteristics of Procedural oriented programming:-
1. It focuses on process rather than data.
2. It takes a problem as a sequence of things to be done such as reading, calculating and
printing. Hence, a number of functions are written to solve a problem.
3. A program is divided into a number of functions and each function has clearly defined
purpose.
4. Most of the functions share global data.
5. Data moves openly around the system from function to function.
6. Employs top-down approach in program design.

Drawbacks of POP
 Procedural languages are difficult to relate with the real world objects.
 Procedural codes are very difficult to maintain, if the code grows larger.
 Procedural languages do not have automatic memory management as like in Java.
 The data, which is used in procedural languages, are exposed to the whole program.
So, there is no security for the data.
 Examples of Procedural languages : BASIC, C, Pascal, FORTRAN etc.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy