Module 1_Ch3 - Introduction to Object-Oriented Concepts and Java - 0511_2017.pdf - MODULE 1 OBJECT-ORIENTED PROGRAM LOGIC AND DESIGN Chapter 3

Module 1_Ch3 - Introduction to Object-Oriented Concepts and Java - 0511_2017.pdf

This preview shows page 1 - 7 out of 21 pages.

Chapter 3 Introduction to Object-Oriented Concepts & Java 4. Java ProgrammingFundamentals MODULE 1 OBJECT-ORIENTED PROGRAM LOGIC AND DESIGN
Image of page 1

Subscribe to view the full document.

Object-oriented methodology models real- world objects Programs and software are built from these objects In contrast, structured approach focuses on tasks and procedures 3. Introduction to Object-Oriented Concepts andJava What is Object-oriented Technology?
Image of page 2
Java programs are built using classes and objects. The JDK itself has a rich set of classes that can be used and re-used. 3. Introduction to Object-Oriented Concepts andJava Classes and Objects
Image of page 3

Subscribe to view the full document.

Class Is a blueprint or template of an object It represents broad groups of objects It contains elements common to a group of objects Example: Animal Vehicle 3. Introduction to Object-Oriented Concepts andJava Classes and Objects
Image of page 4
Object Is an instance of a class It is a specific occurrence of a class Objects have state and behavior Example: Cat is an instance of the class Animal Car is an instance of the class Vehicle A cat has several states:asleep, alive, lost Its behavior could be: eating, jumping, etc. 3. Introduction to Object-Oriented Concepts andJava Classes and Objects
Image of page 5

Subscribe to view the full document.

Encapsulation Means that data and instructions are wrapped up together and treated as a unit Inheritance Ability to “inherit”, use or modify existing or predefined classes 3. Introduction to Object-Oriented Concepts andJava Encapsulation, Inheritance, Polymorphism
Image of page 6
Image of page 7
  • Fall '17
  • Marlon naagas

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes