[1551] in java-interest
Your questions
daemon@ATHENA.MIT.EDU (Chuck McManis)
Thu Sep 7 16:32:09 1995
Date: Thu, 7 Sep 1995 08:42:14 -0700
From: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
To: n1061925@dodo.fit.qut.edu.au
Cc: java@java.Eng.Sun.COM, java-interest@java.Eng.Sun.COM
First a request, Richard, PLEASE ask your question on just one list. If you don't
know what list to ask, send it to java@java.sun.com, if its a java question like
this one is send it to java-interest, and if it is a browser question send it to
hotjava-interest. Thanks,
>1) In what language are the API classes implemented ?
Nearly all of the classes supplied with the system are implemented in Java.
The exceptions are some of the base classes in java.lang (Object, Thread,
ClassLoader, Class, etc) and the fundamental I/O classes (File{Input|Output}Stream)
Window widgets.
>2) Can I implement a class in C and use that class from inside an applet ?
No because the Applet has no way to link in the C part.
>3) If I implement a class where (which directory) should I put it so I can
>use it ?
If you implement an applet put it in a directory named classes that is a subdirectory
of the directory where the HTML page that references it resides. If you are building
just an ordinary class but it in a directory that is in your class path, adjusted
by package name. So if you called your classes have no package statement, they should
just be in one of the directories, if they have a package statement say:
package richard.wahongan;
Then they should be in a directory <.>/richard/wahongan/... (where the directory
<.>, whatever its name, is in your class path.)
--Chuck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com