oop Flashcards
C, Pascal, FORTRAN, and similar languages are
procedural languages.
what are the procedural languages.
That is, each statement in the language tells the computer to do something: Get some input, add these numbers, divide by six, display that output
what is the modual
a grouping of components that execute lists of instructions.
Behavioris
something a real-world object does in response to some stimulus
hidden
, so it is safe from accidental alteration.
constructor vs methods
Constructor is used to initialize an object whereas method is used to exhibits functionality of an object. Constructors are invoked implicitly whereas methods are invoked explicitly. Constructor does not return any value where the method may/may not return a value
what is the modifier
A modifier is a Java reserved word that is used to specify characteristics of a programming language construct.