Help SCJD.

1999-11-03 Thread Hollis
Hello Java Developers, I'm going to take the Sun Certificate JAVA Developer exam. Is there any senior developers would kindly show me some sample programs or hints and references? Thanks in advanced to all. -- Best regards, Hollis mailto:[EMAIL PROTECTED] --

Question

1999-11-03 Thread DD23 CCChang2
> Dear Sirs: > I am junior JAVA programmer, one question need your help. > I had RedHat Linux 6.0 with Java 1.2 SDK and PostgreSQL database, > and my web server is Apache 1.3.6 version. > I had copy the postgresql.jar into /jdk1.2/jre/lib/ext. > > then, I wrote an applet just query the data from

qestion

1999-11-03 Thread you
can you help me? my machine had two OS : linux2.0(redhat 6.0) & NT4.0 boot using lilo Xwindows can AutoStart in Linux befre. I using "Fdisk /mbr" (Windows98) to del lilo, and install lilo using CDROM again . now lilo is recovery. linux can boot . but Xwindows can not AutoStart in Linux (I not

Question

1999-11-03 Thread DD23 CCChang2
Dear Sirs: I am junior JAVA programmer, one question need your help. I had RedHat Linux 6.0 with Java 1.2 SDK and PostgreSQL database, I had copy the postgresql.jar into /jdk1.2/jre/lib/ext. then, I wrote an applet just query the data from PostgreSql database, and show the result on screen, then

policytool

1999-11-03 Thread Joseph Shraibman
Could someone please tell me how to use the policy tool to set permissions for classes I run from my filesystem? I thought this entry in jdk/jre/lib/security/java.policy would take care of that, but apparently it does not. The documentation for this is scanty and driving me nuts (I had to add an

Re: Simple question: Setup CLASSPATH

1999-11-03 Thread Nathan Meyers
> John Louis wrote: > > Hi, > I download javamail API, and copy mail.jar to jdk1.2/lib directory. > I add the CLASSPATH in my > .bash_profile : > CLASSPATH=/jdk1.2/lib/mail.jar > > After that, I compile the demo file, and it give me error : Package > javax.mail not found in import > I'm no

RE: Explicit type casting.

1999-11-03 Thread Jari . P . Kinnunen
You can't cast upwards i.e. there is no way to cast A to a child B. Class A doesn't know anything about B. It works other way round. It is possible to cast B downwards to A, because B includes the information of A. Jari > -Original Message- > From: EXT SABYASACHI S GUPTA > [mai

Re: Explicit type casting.

1999-11-03 Thread Michael Sinz
On Wed, 3 Nov 1999 15:11:16 +0530 (IST), SABYASACHI S GUPTA wrote: > >I have 3 files to test this. > >//A.java >public class A { > public void method(){ > System.out.println("In A"); > } >} > > >//B.java >public class B extends A { > > public void method() >

Re: query

1999-11-03 Thread Joost Helberg
SABYASACHI, The derived class is more specialized than the base-class. An instance of the Base class cannot be as specialized as the derived class, so you can't call methods of the derived class. The other way around is OK however. The more specialized derived class has features available from t

Explicit type casting.

1999-11-03 Thread SABYASACHI S GUPTA
I have 3 files to test this. //A.java public class A { public void method(){ System.out.println("In A"); } } //B.java public class B extends A { public void method() { System.out.println("hello world"); } } //mymain.java

Re: IBM jdk1.1.8 Linux port

1999-11-03 Thread Dimitrios Vyzovitis
Renzo Pecoraro wrote: > Can someone tell me what the differences are between IBMs port and the > blackdown port? I am thinking speed, licensing, stability, etc. speed, speed, speed, speed, speed ... The license is pretty much the same, while I personally find blackdown's green threads more stabl

query

1999-11-03 Thread SABYASACHI S GUPTA
In java explicit typecasting is allowed. Now if I have 1. Instance of Base class 2. Name of derived class Can I call a method of a derived class object through the base class instance. theComponentApp = selAppComp[i].getInstance(); //Base class instance. try{ String compName = selApp

Java and Redhat 6.1

1999-11-03 Thread Roland Silver
I'm thinking about upgrading my Linux machine from Redhat 6.0 to version 6.1, but I don't want to break my Java setup in the process. I'm using Blackdown Java 1.1.7v3 with the xx libraries, and I don't want to go to Java 1.2 until Blackdown makes a stable release. Will Redhat 6.1 support my cu

Re: Simple question: Setup CLASSPATH

1999-11-03 Thread Oliver Koell
> Hi, > I download javamail API, and copy mail.jar to jdk1.2/lib directory. > I add the CLASSPATH in my .bash_profile : > CLASSPATH=/jdk1.2/lib/mail.jar > > After that, I compile the demo file, and it give me error : Package > javax.mail not found in import. I'm not sure how to set the clas

Simple question: Setup CLASSPATH

1999-11-03 Thread John Louis
Hi,   I download javamail API, and copy mail.jar to jdk1.2/lib directory.  I add the CLASSPATH in my .bash_profile :     CLASSPATH=/jdk1.2/lib/mail.jar   After that, I compile the demo file, and it give me error : Package javax.mail not found in import I'm not sure how to set the c