{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec23March508 - Lecture 23 March 5 2008 Review Each object...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 23 March 5, 2008
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Review Each object belongs to a class All objects of a class have the same methods A class can be seen as a blueprint which describes the general behavior of a set of similar objects The class used to define an object can be thought of as the type of an object
Image of page 2
There are pre-built classes and objects whose methods you can use in your programs E.g. System.out A variable that points to an object to the class PrintStream println A method implemented (by someone else) Libraries come with the compiler Abstraction : We only need to know what the parameters are and what the function is supposed to do
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Review: Abstraction We don’t need to think about its internal details in order to use it We can write complex software without having to know how some parts of it are implemented (we just use them as black- boxes)
Image of page 4
Review: Objects A variable: Either holds a primitive type or It holds a reference/pointer to an object
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern