
Patrick B. answered 03/23/21
Math and computer tutor/teacher
(1)
Inheritance is the language's ability to create and
derive a new class from another class or classes
which creates a hierarchy of classes that share a
set of attributes and methods.
(2)
Child class inherits data members and functions from
the Parent class a.k.a the Base Class
(3) In general, given the same input data, a sequential program
will always execute the same sequence of instructions and it
will always produce the same results. Sequential program execution
is deterministic.
Selection: DIFFERENT blocks of code are executed depending
on the results of conditions.
(4)
If statement;
select statement;
while loop;
for loop;