(Solution) 1050 Programming Logic Lab 7 (20 Points Total) Name: ___________________________ Please Paste All Of Your Code Into This Word Document And Submit A... | Snapessays.com


(Solution) 1050 Programming Logic Lab 7 (20 points total) Name: ___________________________ Please paste all of your code into this Word document and submit a...


Can someone help me with my homework please? 1050 Programming LogicLab 7 (20 points total) Name: ___________________________                                Please paste all of your code into this Word document and submit a single Word document for your solution.  Please enter your answers in bolded or a different color font, so they’re easy to find - thanks!  Note that the PowerPoint and the MSDN website resource on Object-Oriented Programming for this week might be helpful. Create a class called Book defines properties Title, Author and Year.  Add a method called Display() that outputs the Title and Author (4 points) Create a class called BookTest that uses an object initializer to create an object of class Book (from step 1) and initialize all of its properties.  Note: you will need to create a constructor method to do this (4 points) Answer the following in essay form: Before adding a constructor method, describe what is called when we create an instance of type Book? (2 points) What concept would we be practicing if we created two new constructor methods? (2 points) Why is it important to use exception handling? (2 points) What’s the purpose of private vs. public when we’re adding new properties and/or methods to our class?  How does this apply to information hiding? (2 points) What is composition?  How could we use Composition in our Book class? (2 points) What is data abstraction? (2 points)1050 Programming Logic

 

Lab 7 (20 points total)

 

Name: ___________________________

 

Please paste all of your code into this Word document and submit a single Word document for

 

your solution.

 

Please enter your answers in bolded or a different color font, so they’re easy to

 

find - thanks!

 

Note that the PowerPoint and the MSDN website resource on Object-Oriented

 

Programming for this week might be helpful.

 

1.

 

Create a class called Book defines properties Title, Author and Year.

 

Add a method called

 

Display() that outputs the Title and Author (4 points)

 

2.

 

Create a class called BookTest that uses an object initializer to create an object of class

 

Book (from step 1) and initialize all of its properties.

 

Note: you will need to create a

 

constructor method to do this (4 points)

 

Answer the following in essay form:

 

3.

 

Before adding a constructor method, describe what is called when we create an instance of

 

type Book? (2 points)

 

4.

 

What concept would we be practicing if we created two new constructor methods? (2 points)

 

5.

 

Why is it important to use exception handling? (2 points)

 

6.

 

What’s the purpose of private vs. public when we’re adding new properties and/or methods

 

to our class?

 

How does this apply to information hiding? (2 points)

 

7.

 

What is composition?

 

How could we use Composition in our Book class? (2 points)

 

8.

 

What is data abstraction? (2 points)

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: May 23, 2022

Solution~00021147601768.zip (25.37 KB)


This attachment is locked

Our expert Writers have done this assignment before, you can reorder for a fresh, original and plagiarism-free copy and it will be redone much faster (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

May 23, 2022

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • ■ As a reference for in-depth understanding of the subject.
  • ■ As a source of ideas / reasoning for your own research (if properly referenced)
  • ■ For editing and paraphrasing.

This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

Get Free Price Quote