public class Book extends Object
private String
description
private long
id
private int
pages
title
Book()
Book(long id)
String
getDescription()
long
getId()
int
getPages()
getTitle()
void
setDescription(String description)
setPages(int pages)
setTitle(String title)
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private long id
private String title
private int pages
private String description
public Book()
public Book(long id)
public long getId()
public String getDescription()
public void setDescription(String description)
public int getPages()
public void setPages(int pages)
public String getTitle()
public void setTitle(String title)
public String toString()
toString
Object
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.