Im sorry earlier i didnt know the rules but i know them now. Ive been trying all day and this is the farthest i could get...
/**
* Program designed to keep the inventory of books in a bookstore.
*
* @author
* @version 1.0 Dveloped on May 3, 2009
*/
import java.awt.*;
import javaswing.*;
import java.awt.*;
public class Books
{
Variables
String Title;
private int Price, Pages;
METHODS
private int getTitle(), setTitle(), setPrice(), getPrice(), setPages(), getPages();
{
private void Booklet implements displayProperties()
{
}
private viod createGUI
{
}
This is the original problem below please someone help.Thanks.
Write a project to keep the inventory of books in a book store. Create a book class with the following variables and methods
Title
Price
Pages
getTitle()
setTitle()
setPrice()
getPrice()
setPages()
getPages()
create a subclass ok book called booklet with the following additional method
display properties()
The displayProperties method will print the title, price, and number of pages. Create a GUI to create booklets and display each booklets properties.