DeVry GSP125 Week 1 Discussion 1 & 2 latest 2016

dq 1Objects and Classes (graded)What is the difference between a class and an object? How is each used?What is object-oriented programming for, anyway? Why did programmers invent classes?Object-oriented programming is considered a tier of structured programming, the previous tier being called modular and the one before that being called procedural. Can anyone explain what modular or procedural means?Has anyone found any resources on the Internet that do a good job explaining OOP?In the code below, what is the function inside of the class that has the same name as the class called? What does it do? Could this particular function be written another way that is more efficient for the computer?classCoordinate{
public:
int x, y;
Coordinate(int a_x,int a_y){
x= a_x;
y= a_y;
}
};dq 2Object-Oriented Terminology (graded)What does object oriented mean? What makes a language object oriented?What do these terms mean?Member variable / property / attribute / fieldMember function / method / behaviorMember operatorCompositionEncapsulationAbstraction

Order Solution Now

Similar Posts