61A Lecture 12
61A Lecture 12
Announcements
Announcements
Objects (Demo)
Objects (Demo)
Objects n
Objects 4
Objects Objects represent information
Objects • Objects represent information 4
Objects Objects represent information They consist of data and behavior,bundled together to create abstractions
Objects • Objects represent information • They consist of data and behavior, bundled together to create abstractions 4
Objects Objects represent information They consist of data and behavior,bundled together to create abstractions Objects can represent things,but also properties,interactions,processes
Objects • Objects represent information • They consist of data and behavior, bundled together to create abstractions • Objects can represent things, but also properties, interactions, & processes 4
Objects Objects represent information They consist of data and behavior,bundled together to create abstractions Objects can represent things,but also properties,interactions,processes .A type of object is called a class;classes are first-class values in Python
Objects • Objects represent information • They consist of data and behavior, bundled together to create abstractions • Objects can represent things, but also properties, interactions, & processes • A type of object is called a class; classes are first-class values in Python 4
Objects Objects represent information They consist of data and behavior,bundled together to create abstractions Objects can represent things,but also properties,interactions,processes .A type of object is called a class;classes are first-class values in Python .Object-oriented programming:
Objects • Objects represent information • They consist of data and behavior, bundled together to create abstractions • Objects can represent things, but also properties, interactions, & processes • A type of object is called a class; classes are first-class values in Python • Object-oriented programming: 4
Objects Objects represent information They consist of data and behavior,bundled together to create abstractions Objects can represent things,but also properties,interactions,processes .A type of object is called a class;classes are first-class values in Python Object-oriented programming: .A metaphor for organizing large programs
Objects • Objects represent information • They consist of data and behavior, bundled together to create abstractions • Objects can represent things, but also properties, interactions, & processes • A type of object is called a class; classes are first-class values in Python • Object-oriented programming: •A metaphor for organizing large programs 4