Object Oriented Programming

2
T his book introduces Object Oriented Programming and explains how to implement it using C++ and Java. It also discusses various C++ and Java programming concepts along with the OOPs principles, such as encapsulation, inheritance, and abstraction. In this book, you learn about: OOP FUNDAMENTALS: Explores OOP concepts; public, private, and protected members; concept of inheritance and derived classes; and single and multiple inheritance. PROGRAMMING IN C++: Explains the advantages of C++ over C; datatypes, operators, operator overloading, and functions in C++; constructors and destructors; inheritance and its forms in C++; Input/Output (I/O) flags and formatting operations; and how to work with text files. JAVA PROGRAMMING LANGUAGE: Explores the migration from C++ and Java programming language; Java byte code and Java Virtual Machine (JVM); datatypes, arrays, variables, and literals supported in Java. OPERATORS AND CONTROL STATEMENTS: Discusses the types of operators supported in Java programming language; concept of control statements; and types of control statements supported in Java. PACKAGES AND INTERFACES: Describes the concept and utility of packages u u u u u ISBN: 978-93-5004-015-7 | Price: 349/-w/CD | Pages: 396 | Author: Prof. (Dr.) C.M. Choudhary | Mahendra Kumar Beniwal | Pankaj Dadheechc, KLSI Object Oriented Programming ` 349/ -w/CD

Transcript of Object Oriented Programming

Page 1: Object Oriented Programming

This book introduces Object Oriented Programming and explains how to implement it using C++ and Java. It also discusses

various C++ and Java programming concepts along with the OOPs principles, such as encapsulation, inheritance, and

abstraction.

In this book, you learn about:

OOP FUNDAMENTALS: Explores OOP concepts; public, private, and protected members; concept of inheritance and derived

classes; and single and multiple inheritance.

PROGRAMMING IN C++: Explains the advantages of C++ over C; datatypes, operators, operator overloading, and functions in

C++; constructors and destructors; inheritance and its forms in C++; Input/Output (I/O) flags and formatting operations; and

how to work with text files.

JAVA PROGRAMMING LANGUAGE: Explores the migration from C++ and Java programming language; Java byte code and Java

Virtual Machine (JVM); datatypes, arrays, variables, and literals supported in Java.

OPERATORS AND CONTROL STATEMENTS: Discusses the types of operators supported in Java programming language;

concept of control statements; and types of control statements supported in Java.

PACKAGES AND INTERFACES: Describes the concept and utility of packages

u

u

u

u

u

ISBN: 978-93-5004-015-7 | Price: 349/-w/CD | Pages: 396 | Author: Prof. (Dr.) C.M. Choudhary | Mahendra Kumar Beniwal | Pankaj Dadheechc, KLSI

Object Oriented Programming

` 349/

-w/CD

Page 2: Object Oriented Programming

OOP Fundamentals Introducing Java Programming Language

Introducing OOP | Explaining Access Specifiers | Stepping Forward from C++ to Java | Understanding Java Bytecode and Java Virtual Machine (JVM) | Explaining Understanding Inheritance Datatypes | Understanding Variables | Using Literals |

Programming in C++Understanding Types of Java Programs | Exploring

Understanding Enhancements of C++ over C | Exploring Arrays in Java Datatypes and Variables in C++ | Exploring Operators in Operators and Control StatementsC++ | Exploring Functions in C++ | Working with Exploring Operators in Java | Implementing Flow Control Constructors and Destructors | Working with Friend Statements Functions and Friend Classes | Working with Base and Exploring Packages and InterfacesDerived Classes | Explaining the Forms of Inheritance | Working with Packages in Java | Working with Interfaces Creating and Using Pointer to Objects | Implementing in Java |

Dynamic or Late Binding using Virtual Functions |I/O

Flags and Formatting Operations | Working with Text

Files in C++

u

u

u

u

u

OOP Fundamentals

Programming in C

Java Programming Language

Operators and Control Statements

Packages and Interfaces

Table of Contents

About the Author

This Book Covers

DREAMTECH PRESS19-A, Ansari Road, DaryaganjNew Delhi-110 002, INDIATel: +91-11-2324 3463-73, Fax: +91-11-2324 3078Email: [email protected]: www.dreamtechpress.com

WILEY INDIA PVT. LTD.4435-36/7, Ansari Road, Daryaganj

New Delhi-110 002, INDIATel: +91-11-4363 0000, Fax: +91-11-2327 5895

Email: [email protected]: www.wileyindia.com

Regional Offices: Bangalore: Tel: +91-80-2313 2383, Fax: +91-80-2312 4319, Email: [email protected]

Mumbai: Tel: +91-22-2788 9263, 2788 9272, Telefax: +91-22-2788 9263, Email: [email protected]

Exclusively

Distributed by:

Published by:

Dr. C.M. Choudhary, Professor, Department of Computer Science and Engineering at Swami Keshvanand Institute of Technology,

Management and Gramothan, Jaipur, has made prominent contributions to Computer Science research domain of Software

Engineering and Design. His specialized areas of interest are Object Oriented Programming, UML, Design Patterns and Software

Development methodologies. With a wide teaching experience of more than a decade, he has published numerous research

papers in various journals and conferences. He has harnessed his immense knowledge with industry leaders such as IBM, TCS and

Infosys in live technologies and academic programs.

Mr. Mahender Kumar Beniwal holds the M.Tech. Degree in Computer Science. He is currently Reader (Department of Computer

Science & Engineering) at Swami Keshvanand Institute of Technology, Management & Gamothan, Ramnagaria, Jagatpura, Jaipur,

Rajasthan, where he is involved in teaching graduate and postgraduate courses in Computer Science, and Information Technology.

His current area of research includes OOP, Java, and Computer Networks.

Mr. Pankaj Dadheech holds the M.Tech. degree in Computer Science. He is currently Senior lecturer & Dy. HOD (Department of

Computer Science & Engineering) at Swami Keshvanand Institute of Technology, Management & Gamothan, Ramnagaria,

Jagatpura, Jaipur, Rajasthan, where he is involved in teaching graduate and postgraduate courses in Computer Science, and

Information Technology. His current area of research includes OOP, data mining, and Complier Design.

The proficient teams at Kogent Learning Solutions Inc. and Dreamtech Press have seized the market of engineering textbooks,

bringing excellent content in engineering and technical education to the fore. The teams at Kogent Learning Solutions Inc. and

Dreamtech Press are committed to providing excellence in quality of content by judiciously analyzing the needs of their readers

and ensuring dedication of their authors and editors in catering to these needs.

facebook.com/dtechpress twitter.com/dtechpress linkedin.com/in/dreamtechpress