|
thanks
very much for you reply, but i think that is what i have done with the
declaration...
package com.wrox.library;
in
both of the classes, as i understand it a package is euphanism for directory,
would that be correct.
as you
will gather this is a wrox tut
i have
pasted the code below for anyone who is interested:
initial class:
*******************************************************
package com.wrox.library;
public
class Book {
private String
title;
public String getTitle() { return title; } public void setTitle (String title) { this.title = title; } /** Creates new Book: Constructor */ public Book () { } public Book (String title) { this.title = title; } }
******************************************************* extension class:
*******************************************************
package com.wrox.library;
public
class ChildrensBook extends Book {
private int
minimumAge;
public int getMinimumAge() { return minimumAge; } public void setMinimumAge(int a) { minimumAge = a; } public ChildrensBook() { super(); } public ChildrensBook(String title) { super(title); } } *******************************************************
once
again thanks to anyone who is willing to assist me...
ewan
taylor ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets |
- possible idiot question Ewan Taylor
- Re: possible idiot question shivaraj
- Re: possible idiot question Ewan Taylor
- Re: possible idiot question shivaraj
- Re: possible idiot question Ewan Taylor
- Re: possible idiot question shivaraj
- Re: possible idiot question Ewan Taylor
- Re: possible idiot question Vibha Jindal
- Losing Session Vibha Jindal
- Re: possible idiot question Sachin S. Khanna
