SYSC 2004 Lecture Notes - Lecture 5: Operand, Boolean Expression, Bluej

69 views2 pages

Document Summary

Modularity/ modularization: breaking up a problem into small pieces (methods, constructors, fields, etc) Interface: shared boundary across 2 or more components share information. Class: a description of attributes and operations of all objects of a particular kind. Class diagram: flow chart of all of the classes in the program; main gui of bluej. Object diagram: shows the instance properties; right click on the object and inspect. Type: primitive (int, double, float, string, void) and reference(methods, fields and constructors) Method: a function that includes a set amount of operations to be executed upon command. Parameter: arguments passed into a method or constructor. Signature: top line of a method (parameters, name and return type) Result: the final return parameter of a function/ method. Local variable: variable inside a method; disappears after method execution. Method invocation: apply a method to an object. Internal method call/ invocation: invoking a method in the same class. External method call/ invocation: invoking a method in another class.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents