Object-Oriented Programming in Computer Science

Object-Oriented Programming in Computer Science

Rahime Yilmaz (Istanbul University, Turkey), Anil Sezgin (Yildiz Technical University, Turkey), Sefer Kurnaz (Istanbul Esenyurt University, Turkey) and Yunus Ziya Arslan (Istanbul University, Turkey)
Copyright: © 2018 |Pages: 11
DOI: 10.4018/978-1-5225-2255-3.ch650
OnDemand PDF Download:
$30.00
List Price: $37.50

Abstract

A program is composed of commands, which runs within a computer or an electronic circuit. Programming is a mathematical methodology to write a program and to encode the algorithm into a notation. It can be classified into two groups such as system and application programming. System programming is a branch of the general programming that is composed of low level instructions which are used to operate and handle computer hardware. Application programming is considered as the improved version of the computer programs which can perform specific tasks. One of the application programming types is the object-oriented programming (OOP) which is about how information is represented in human mind. OOP is useful to provide easy modeling in design and developing real entities. This approach is aimed to model the entities and the relationships existing between them. OOP enables to define the required classes to create the objects and to apply modifications on them. The inherent properties of OOP are modularity, extensibility and reusability. This chapter provides a substantial survey of OOP.
Chapter Preview
Top

Introduction

In computer science, a program is composed of a series of commands, which runs within a computer or an electronic circuit, producing information for users. Programming is a that can help programmers while writing a program. Computer programming is the process of writing an algorithm and, it is also the encoding of the algorithm into a notation that can produce and provide information to the users. It can be classified into two groups, that is, system programming and application programming. System programming is a sub branch of the general programming that is composed of low level instructions which are used to operate and handle computer hardware. Application programming is considered as the improved version of the computer programs which can perform specific tasks for the users. One of the application programming types is the object oriented programming (OOP) which is about how information is represented in human mind.

As a computer programming approach, OOP is useful such that it provides easy modeling in designing and developing real entities. This approach is intended to model the entities and, also, the relationships existing between them. OOP allows programmers to define the required classes to create the objects and to apply modifications (manipulations) on them. It can also supply inheritance, polymorphism and encapsulation features to the developers. With these capabilities, the processed data can be isolated from other redundant applications. Because of its abilities that are readily available to the users, OOP is preferred much more than other available programming languages. The inherent properties of OOP, which do not exist in other application programming, can be stated as modularity, extensibility and reusability. This chapter provides a substantial survey of OOP in computer science.

In this chapter, we have highlighted a number of explanations and reviews that are generally accepted and are in common use in OOP. We explain the heart of this chapter OOP concept in section 1, Object Oriented Programming Features, making up the largest section. Main topic of OOP which are included Inheritance, Polymorphism, Abstraction and Encapsulation titles are explained with details in the subtitles of section 1. In section 2, you can find an example of OOP implementation in Java. There are many kinds of OOP languages in use but in this study, Java was given as a strong example to OOP language (Harel, Marron, & Weiss, 2010). The following section is Future Research Directions which include future works related OOP. The chapter ends with Conclusion section that gives a brief information about this study.

Key Terms in this Chapter

Class: Used to define the objects and to describe the contents of the objects.

Java: A high level programming language that is based on object oriented design which was first released by Sun Microsystems in 1995.

Object: Instance occurrence of a same class that models real-world items.

Method: Called a function or a procedure that is used to operate on the data.

Programming: A mathematical methodology that helps programmers while writing a program.

Message: Communication type among methods.

Object Oriented: A technique for programming that is based on the objects and on the relationship between those objects.

Complete Chapter List

Search this Book:
Reset