object oriented programming, JAVA Programming

Assignment Help:
Theobjectiveoftheassignment is tofamiliarize youwithinheritance, GUIand abstraction.
Create anabstractclass named that includesprivatefields for the InternationalStandard BookNumber(ISBN),price, author anda protected fieldtitle. Include properties for eachfield. (An ISBN is aunique number assigned to eachpublished book.) Providepublicget and set accessors for eachfield.Create a child class named that includes aprivategrade levelfield, andachildclass that contains no aditionalfields.(Note: Youyourself have to decide on the data type and name ofthe field.)The following class diagram demonstrates the scenario. Include agetTitleabstract method (which is just an
accessor method) in theBookclass and override this method in its subclasses.
<>
Book


TextBook


CoffeeTableBook


In the child classes, overide the accessormethodofa ’sprice so that s must be pricedbetween $20.0 and $80.0, inclusive, and themust bepriced between $35.0 and$10.0, inclusive.Also provide get and set accessors forgrade levelfieldin theclass named .Overloadconstructors for allclasses.

Design two User Interfaces (forms):ILoginandIBook.
TheILoginwill be used to get access to the IBook interface. Once successfully logged-in the IBookinterface should be displayed. (Use the following data for Login?UserName: User1; Password:
passwd )
respectively.Use Either JLabel,JTextField and JButton ortheJOptionPane instead, fordata entry, i.e.setting values forthe datamembers andoutputthevaluesof allthe data membersin anicely formattedfashion.(Note: youyourself have to anticipatethe display of the interface)You are only required to validate the Books price in TextBook and CoffeeTableBook Classes. Assume that the
user does the other work (entry) correctly i.e. no other error handling is required.
for eachsuper & subclassmethod to describe what the method is doing when invokedbythe mainprogram.Also writeyourstudent Id number, name and program of study at the top of theJFrame classusing comments.

Related Discussions:- object oriented programming

What is the use of wrapper class, What is the use of Wrapper class You...

What is the use of Wrapper class You can create an object of Wrapper class using a String or a primitive data type Integer num = new Integer (4); or Integer num = n

Prepare simple spring maven task, Prepare Simple spring maven task Proje...

Prepare Simple spring maven task Project Description: We want a very simple delivery for one of our tasks using Spring STS Maven project. This chat does not have UI interf

Program to abstract syntax tree constructed, Please submit your answers    ...

Please submit your answers     In this homework, we are going to generate Java Virtual Machine codes by processing the abstract syntax tree constructed from the parsing process

Big m method, i''ve done an application that calculates simplex methods i n...

i''ve done an application that calculates simplex methods i need to add big m method can any one help me?

Tasks with the classes Currency, In this assignment you work on a set of ta...

In this assignment you work on a set of tasks with the classes Currency, Money and Bank. Money and Currency You have been given a template for the Currency and Money classes (Lab1.

Package diagrams , To simplify complex class diagrams you may group classes...

To simplify complex class diagrams you may group classes into packages.

Write a java program in a netbeans project, Write a Java program in a NetBe...

Write a Java program in a NetBeans project that reads a text file containing the names and addresses of several people and displays them all at once or one at a time upon selecting

Problem D., In Exercise 1 you were asked to modify the Sorts program so tha...

In Exercise 1 you were asked to modify the Sorts program so that it would output the number of swaps used by a sorting method. It is a little more difficult to have the program als

Change to palindrome, A palindrome is a string that reads the same from bot...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd