Page 1 of 1
Java Help General
Posted: Wed Mar 09, 2005 9:09 am
by aniketvast
I understand that currently only JDK 1.1 and 1.2 will work. And that some of the classes in these versions are restricted.
However, I wanted to know exactly which classes are restricted. I don't want to know why they are restricted

...just which ones.
It so happens that my programs compile correctly locally but won't compile on the Submit-o-matic.
Are Vectors allowed?
Thanks
Aniket
Java General Help
Posted: Thu Mar 10, 2005 2:35 am
by aniketvast
Since it is mentioned that Java will work only with 1.1 or 1.2, I decided to make my program fully compatible with 1.1.8.
I got past compilation problems after that and after making the common changes...like program class has to be "Main" and cannot be public.
I noticed one thing that the output should follow the input immediately...rather than fetching all input , processing and then outputting results.
Also...Vectors are allowed...whew!!
However since I compiled with 118, I couldn't take much advantage of the the rest of the Java API.
Aniket
Posted: Tue Mar 15, 2005 7:02 am
by Alejandro Sotelo Ar
Which methods are available for me??
http://acm.uva.es/problemset/java.html :
"The current support for Java platform is provided by a standard gcj 2.95 installation"
Then, if you want to see compatibility, download:
http://public.planetmirror.com/pub/sour ... .95.tar.gz
And please see the following link:
http://gcc.gnu.org/java/
Compile in your normal java compiler, and look for
compatibility as needed. This works fine for me.
For example, the class Vector included in gcj 2.95 only admits methods like elementAt(int) and setElementAt(Object, int); but this class doesn't accept methods like get(int) and set(int, Object)
Posted: Tue Mar 15, 2005 7:10 am
by Alejandro Sotelo Ar
> I noticed one thing that the output should follow the input
> immediately...rather than fetching all input , processing and then
> outputting results.
Many times, I fetched all input, did the processing and wrote the output at end, without problems.
Here I am, listen to me !
Posted: Fri Jul 08, 2005 5:51 am
by Ulic Qel-Droma
Here I am.
D' you think, really... are you the best one ?
The guy who looks all the people such as they were animals ?
It's really stupid for a guy like you, to ask all the time to your friends about their grades, in order to comparing your perfomance and let growing your ego...
One day... you'll find somebody better than you, that day... your life'll lost its meaning, mr Sotelo !
