Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is java problem. I have writen the codes i am not sure what i do wrong, please fix it or add to make it

This is java problem. I have writen the codes i am not sure what i do wrong, please fix it or add to make it works. I am not sure what did i do wrong and why it wont compile this is the direction:

-The Book class models information common to all books.

image text in transcribed

what do i need to do next this is my code, but i am not sure i did it correctly or not.

image text in transcribed

Class Book The Book class models information common to all books. Any book has: Fields: an author .an ISBN or International Standard Book Number that provides a unique number used by publishers and book stores Constructors and methods: a null constructor a constructor using 3 parameters for an author, title, and ISBN number getters and setters toString should provide a string of the field data in a format suitable for printing Within a Book class and its subclasses, these fields might be used directly, but processing by other classes and objects should bedone via getters and setters-encapsulation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Explain consumer behaviour.

Answered: 1 week ago

Question

Explain the factors influencing consumer behaviour.

Answered: 1 week ago