









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Programming Paradigms
a (^) methodology Some (^) languages make it (^) easy to (^) write in
is (^) on
Imperative Paradigm
ParallelProcessing
Examples of Procedural Programming Paradigms
and Ken (^) Thompson
Coldfusion (^) Developed (^) by
Wirth
Class method
int (^) age void (^) printAged E
z Print (^) age Enammpiendolinerampiec (^01) printAge 3
Inheritance
int (^) maxspeed (^) print 2 enginesize String color String owner^ I^ print 2 color
A (^) create an
public
I (^) b b
accessed (^) outside (^) without (^) creating (^) Arguments
System out^ printIn L L class (^) After class (^) name out is^ like a name if (^) there is^ a^ dot i static reference we are^ accessing a^ static variable^ it^ islike member of^ that (^) class a^ pointer whichis
int y X (^11) narrowing conversion error int y
float 3 SI (^) narrowing conversion^ euro
class
Real world^ entity Instance of^ a^ class Instance member
variables 4 functions
private int^ length^ breadth^ height^ T
breadth bi height h
void (^) main (^) StringCT (^) avg.DE
bi showDimensionC
garbage collector (^11) It will
tool OOP^ based (^) language
There is
Integer isas^ Integer value Ofc^123
is
Keeps number^ in
decimal (^) equivalent
t
it is^ default Only public
name of constructor is same as (^) class name
type public class^ Box^
public
h e
public static^ void^ main^ string angs^
implicitly provide^ a^ default^ constructor^ for^ the^ class