Guest Lecture
Guest Lecture
3. Programming Progression
• Programming has progressed through
a. Machine code
b. Assembly Language
c. Machine Independent Programming
d. Procedures and Functions
e. Objects
4. Intrinsic Power Vs. Extrinsic Power
• This programming is not a matter of intrinsic power.
• Anything you can do with a minimally capable computer language, you
can theoretically do it.
5. Concepts of Object
• Objects are a self contained entity.
• Objects have two components:-
o Attributes
o Methods
• Attributes are also called instance variables.
• The attributes of objects may or may not be visible to the outside world
(i.e., to other objects).
• The attributes can be hidden.
6. Concepts of Class
• The entire set of data and code of an object can be made a user-defined
data type with the help of a class.
• Objects are variables of the type class.
• A class is thus a collection of objects similar type.
1. Encapsulation.
2. Information Hiding.
3. Inheritance.
4. Polymorphism.
1. Encapsulation
• Wrapping of data and functions into a single unit (class) is known as data
encapsulation.
• Data is not accessible outside class and only those functions which are
wrapped in the class can access it.
2. Information Hiding
• Insulation of the data from direct access by the program is called data
hiding.
3. Inheritance
• Inheritance is the process by which objects of one class acquire the
properties of objects of another class.
• The concept, of inheritance provides the idea of reusability. The new class
will have the combined features of both the classes.
4. Polymorphism.
• Models
o Abstraction used to separate out aspects.
o Diagrams and charts.
o Project planning and budget building.
o Representation of an important aspect of real world but not as same
thing.
The third programming language taught was J2EE Vs. Microsoft .NET