Page 25 - DCAP404 _Object Oriented Programming
P. 25
Object-oriented Programming Manpreet Kaur, Lovely Professional University
Notes Unit 2: Beginning of OOP Language
CONTENTS
Objectives
Introduction
2.1 Review of Tokens
2.1.1 Keywords
2.1.2 Identifiers
2.2 Assignment Expression
2.3 Operators
2.3.1 Arithmetic Operators
2.3.2 Assignment Operators
2.3.3 Unary Operators
2.3.4 Comparison Operators
2.3.5 Shift Operators
2.3.6 Bit-wise Operators
2.3.7 Logical Operators
2.3.8 Conditional Operators
2.4 Control Structures
2.4.1 The if-else Construct
2.4.2 Looping
2.5 Scope Resolution Operator
2.6 Member Dereferencing Operators
2.6.1 Memory Management Operators
2.6.2 Declaration of Variables
2.6.3 Dynamic Initialization of Variables
2.6.4 Reference Variables
2.7 Summary
2.8 Keywords
2.9 Review Questions
2.10 Further Readings
Objectives
After studying this unit, you will be able to:
Recognize the tokens
Describe the expressions
18 LOVELY PROFESSIONAL UNIVERSITY