You are on page 1of 2

Leslie T. Atanacio Grade 10 St..

Thomas

A. Illustrate the comparison between Oop and


procedural programming.

Oop- OOP stands for


Object-Oriented Both have Pp – procedural
Programming. Procedural functions programming concepts as
programming is about but in in
its core, as do many other
writing procedures or different
ways. programming languages.
methods that perform
operations on the data.

B.
Differentiate classes and objects

CLASS- class is a user OBJECT- Object-Oriented


defined blueprint or Programming and
prototype from which represents the real life
objects are created. It entities. A typical Java
represents the set of program creates many
properties or methods that objects, which as you
are common to all objects know, interact by invoking
of one type. methods.
C. SHOW THE DIFFERENCES OF OBJECT RELATIONSHIPS

A class is used to bind data as well as Object acts like a variable of the class.
methods together as a single unit.

You might also like