Thank u very much.  i got the output using with your
solution. but i want to know "where i can set the
classpath permanently"

regards


k.s.prasanna

--- Kiran Kumar <[EMAIL PROTECTED]> wrote:
> When compiling info1 make sure you add that
> directory to the classpath ...
> javac -classpath <dir> info1.java
> 
> Kiran
> 
> ----- Original Message -----
> From: "kandadai prasanna" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, August 22, 2003 9:12 AM
> Subject: [LIH]Problem in Java Programme
> 
> 
> > Dear Friends,
> >
> > I got some errors while compiling the following
> > programs(using Inheritance - Extends keyword). 
> You
> > are requested to please solve and send me at an
> > earliest.
> >
> > Problems / Errors :  Problem is cannot resolve
> symbol.
> >
> >
> > <File Name : Info.java>
> >
> > class Info {
> > protected String name="Naven";
> > protected String add="Plot 65";
> > }
> >
> > <File Name : Info1.java>
> >
> > class Info1 extends Info {
> > private int age=22;
> > public void disp() {
> > System.out.println ("name     : " + name);
> > System.out.println ("address  : " + add);
> > System.out.println ("age is   : " + age);
> > }
> > public static void main (String args[]) {
> > Info1 i = new Info1();
> > i.disp();
> > }
> > }
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems
> on a single machine.
> > WITHOUT REBOOTING! Mix Linux / Windows / Novell
> virtual machines
> > at the same time. Free trial click
> here:http://www.vmware.com/wl/offer/358/0
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems
> on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell
> virtual machines
> at the same time. Free trial click
> here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/linux-india-help


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to