Skip to Main Content
Fundamentals of Computer Programming and IT by Pearson
book

Fundamentals of Computer Programming and IT by Pearson

by Ashok Namdev Kamthane, Rohit Khurana
May 2024
Intermediate to advanced content levelIntermediate to advanced
577 pages
22h 34m
English
Pearson India
Content preview from Fundamentals of Computer Programming and IT by Pearson
Classes and Objects 413
cout <<“\n Price =”<<price;
cout <<“\n Quantity=”<<qty;
}
The member function that performs input and output operation requir
es more time. Inline func tions have
one drawback, the entire code of the function is placed at the point of call in caller function and it must be
noted at compile time. Therefore, inline functions cannot be placed in standard library or run-time library.
16.13 DATA HIDING OR ENCAPSULATION
Data hiding is also known as encapsulation. It is a process of forming objects. An encapsulated object is often
called as an abstract data type. We need to encapsulate data because the programmer often makes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Basic Computer Engineering (Subject Code: BE - 205)  by Pearson

Basic Computer Engineering (Subject Code: BE - 205) by Pearson

Anita Goel, Anand Motwani

Publisher Resources

ISBN: 9781299447479