View Notes – Opp’s Notes(1).doc from CSE at Anna University Chennai – Regional Office, Coimbatore. CS OBJECT ORIENTED PROGRAMMING 3 0 . Anna University CS Object Oriented Programming Department of Computer Science Engineering and Information Technology (Regulation. Download CS Object Oriented Programming notes Anna University lecturer notes and QUESTION PAPER.

Author: Kajitilar Turg
Country: Ghana
Language: English (Spanish)
Genre: Travel
Published (Last): 3 November 2010
Pages: 485
PDF File Size: 18.84 Mb
ePub File Size: 2.62 Mb
ISBN: 794-3-91839-304-8
Downloads: 13145
Price: Free* [*Free Regsitration Required]
Uploader: Mashakar

A function that contains a function call to itself or a function call to a second function which eventually calls the first function is known as recursive functions. What is data hiding? When the object of class temporary is created, constructor is called and x is initialized to 5 and y is initialized to 5. In OOP, programmers see the execution of the program as a collection of dialoging ;rogramming.

Inheritance is the process of creating new classes from the existing classes.

Optical Communication and Networks Question Bank Istream — input stream does formatted input. Anna University Department of Civil Engineering B. Proogramming Computer is a device capable of performing computations and making logical decisions at speeds millions and even billions of times faster than human beings.


To know how to More information. For example, a file on a hard disk or floppy disk can be accessed either sequentially or randomly. CS Exam I: Lesson 1 Introduction to Object-Oriented Approach.

Object pointers are useful in creating objects at run time. The goal is to build a complete optimizing compiler.


The technique of creating new data types that are well suited to an application to be programmed is known as data abstraction. What are the characteristics of a static data member?

What is a constructor? For object A2, 2 and 1 is passed as argument.

Both require include directives to access libraries. Instead, you can define a constructor which initializes that data member to 0. What is the use of a continue statement?


Semantic Analysis Semantic Analysis: Define pure virtual function? Computers process data under the. Commonly files represent programs boyh source and object forms and data.

If a derived class is derived from more than one base class, then it is called multiple inheritance. What are the blocks related to exception handling constructs?



The basic meaning of the operator should not be changed. Thus, a friend function is an ordinary function or a member of another class. The new classes are called derived classes. Conversion from basic objject type to class type can be done in destination class. A constructor is a special member function whose task is to initialize the objects of its class. Modular programs Programming style Data types Arithmetic operations Variables and declaration statements Common More information.

In the example above two functions are defined.