COMPSCI 2S03 Lecture Notes - Lecture 9: Object-Oriented Programming, Linked List

75 views1 pages

Document Summary

Data type: organize data and methods, method of organizing data, way of organizing data. Two types of data types: user defined data types, primitive data types. First concept in object oriented programming: encapsulation (everything in one class, abstraction, inheritance, polyporphisms, abstract classes. Constructor is same name of the class, default one has no parameters. Set and get (access fields attributes using dot operators (. ) It has the methods pop, push isempty isfull. With user defined classes, you"re comparing reference values so you cannot use use.

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