0% found this document useful (0 votes)
49 views61 pages

2 OOPS Concepts

The document is a presentation on the fundamentals of object oriented programming in Java. It discusses key OOP concepts like encapsulation, abstraction, inheritance and polymorphism. It also covers the top-down and bottom-up programming approaches, with examples like C++ and Java using bottom-up. Data hiding is presented as making data inaccessible to the outside world and only accessible via class access methods.

Uploaded by

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

2 OOPS Concepts

The document is a presentation on the fundamentals of object oriented programming in Java. It discusses key OOP concepts like encapsulation, abstraction, inheritance and polymorphism. It also covers the top-down and bottom-up programming approaches, with examples like C++ and Java using bottom-up. Data hiding is presented as making data inaccessible to the outside world and only accessible via class access methods.

Uploaded by

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

16CSOE04 – JAVA PROGRAMMING

UNIT – I INTRODUCTION TO JAVA

Topic: Fundamentals of Object Oriented Programming

Presented
by

Dr.C.Rani
Assistant Professor
Department of Computer Science and Engineering
Government College of Engineering, Salem-11
1
Objectives and Outcomes

Session Objective

 To know the fundamentals of object oriented


Programming

Session Outcomes

 Understand the object oriented Programming


concepts

2
OOPS Concepts

3
4
5
6
Programming Approaches
 Top- Down Approach
 Bottom-Up Approach

7
8
Top-down Approach
 The ideology behind top-down approach is, a bigger
problem is divided into some smaller sub-problems
called modules, these modules are then solved
individually and then integrated together to get the
complete solution to the problem.
 Example: C, PASCAL,FORTRAN

9
10
11
12
13
14
Bottom-Up Approach

 In bottom-up approach on the other hand, the process


starts with elementary objects and then combining
together to get the desired result.
Example:
 C++,JAVA,C#, Python,Smalltalk,PHP

15
16
17
18
19
20
OOP concepts

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Data Hiding

 The data is not accessible to the outside world ,and only


access methods within the class. This process is called
Data Hiding.

41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
References

 https://www.slideshare.net/nileshdalvi01/basics-concepts-of-
oops

60
61

You might also like