Tutorial_3-v02-_read_me_first_ - CC2203 Data Structures and...

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

View Full Document Right Arrow Icon
CC2203 Data Structures and Algorithms Sem 2, 2009-2010 Tutorial 3 Instruction In this tutorial, you are required to submit your tutorial work answer for exercise 1 to me. Tutorial work will not be graded unless your coursework fails (coursework below D grade). If one’s coursework fails, that tutorial work will be graded to see if condone pass should be issued or not. Exercise 1. What is object orientation? 2. Categorize each of the following as either a class or an object: a) a book b) the book Java Software Solutions c) my copy of Java Software Solutions d) my dog e) the picture of my dog biting the mailman f) a car 3. Describe each of the following terminologies: a) Object b) Class 4. Based on the BankAccount class created for question 4 in last tutorial (tutorial 2), write a subclass SavingsAccount of the main class BankAccount . Beside the three inherited attributes accountNo , accountName and balance , the subclass SavingsAccount contains one more attribute interestRate which is a double.
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
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