Erik carine

Greenhorn
+ Follow
since Jun 30, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Erik carine


How many questions were on the java 1.2 developer test?
At Sun's site they just say 5-10 which is vague!
Did they ask you the pros and cons of using different
data structures? ( Arrays,vectors, and hashtables) Like on
Sun's site?

How similar are the questions at this site
( http://suned.sun.com/USA/certification/devsq.html )
with the questions on the developer test?
Are there questions on Swing's layoutmanager of instance?

To my knowledge the "core" of the developer test is
threads, Swing, Rmi and hashtables.

How many questions were on the java 1.2 developer test?
Did they ask you the pros and cons of using different
data structures? ( Arrays,vectors, and hashtables) Like on
sun's site?

How similar are the questions at this site with the
questions on the developer test?
Was there questions on Swing's layoutmanager of instance?
http://suned.sun.com/USA/certification/devsq.html
At suns site they just say 5-10.

To my knowledge the "core" of the developer test is
threads, Swing, Rmi and hashtables.

Wow! how many books do you do at once?
The first 2 books interest me alot!
A request for all programmers , make the code open.

how do u convert ascii to binary?
and lock and unlock records?
23 years ago
the develop test focuses on Hashtables , runnable thread
Swing, and Rmi.
those 4 topics are 95% of the exam.

Deitels books are crammed with Info, other books just
lots of fluff. And also all of the code works.
Can anyone say that about Sams books?
( Series unleashed and 21 days ).
Addison wesley and Prentice hall in my opinion have
the best computer books. Oreilly's books are also
great but to me they are too terse.

I am a member! what most at java lobby want is an
open source java. This is we feel that it will be
best for java to become open source to make the jdk
better and to put choices in the hands of programmers
and not big corps.
C and C++ have compilers that are open source
G++/GNU . This is known to be one of the best
C/C++ compilers out there that also has the fewest
bugs.

23 years ago
Hash tables /Hashmap/Hashset is like a dictionary ,
it maps keys to specific values.
A key finds a value in a array like structure.
It is called hashing because when one converts
keys into subscripts it scrambles the bits. the bits
form a number that is useful to store and retreive data.
A problem with hashtables is collisions ( 2 keys for the
same cell) To prevent this every cell in a hashtable
is also a bucket ( a linked list ) of all the key and
value pairs that match that specific cell.
The package java.util uses this for hashtables.
The load factor in hashing is the ratio of filled cells
to the size of the hashtable. The higher the number , the
more likely collisions are!

23 years ago
( I have 2 computers winnt and win98 )
(My question is on making it work on winnt! )
I just did exactly what u did and I still got the same
error message! (on my winnt machine)
In winnt in autoexec.bat file i wrote this
PATH=C:\WINNT;C:\WINNT\COMMAND;C:\JDK1.3\BIN;
AND MY Sum.class file gave me the same error message!
before the path message i also tried putting this in the
autoexe.bat file:
SET PATH=%PATH;%JAVAHOME%\BIN

New Autoexe.bat file for win98
//=============================

SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\AUDIOPCI
SET QTJava=d:\jdk1.2.1\jre\lib\ext\QTJava.zip

SET CLASSPATH=%BIN%;
SET PATH=C:\JDK1.3\BIN;
SET PATH=%PATH%;C:\PROGRA~1\NETWOR~1\PGP
//========================================

//=======================================
this is the old one
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\AUDIOPCI
SET QTJava=d:\jdk1.2.1\jre\lib\ext\QTJava.zip

SET CLASSPATH=%QTJava%;
SET PATH=C:\JAVA\BIN;C:\VIEWER5
SET PATH=%PATH%;C:\PROGRA~1\NETWOR~1\PGP

//=============================================

On win98 it seems like it does not matter!
( Sum works with jdk1.3 " compiles and runs" on my win98)
on my winnt machine the autoexe.bat file was 100%
empty and i still get this NoClassDef error on winnt
with or without an edit autoexec.bat file
23 years ago
This code compiles but does not run: NoClassDefFoundError
Exact error message:
C:\jdk1.3\bin>java Sum
Exception in thread "main"
java.lang.NoClassDefFoundError : Sum
Am i getting this because i have multiple jdk's
on my computer and that messed up the claspathing?
the Sum file is in the bin dir:
here the file:
//////////////////////////////////////////////////
// this code compiles but it does not run
// the error message i get is java Sum Exception in
// Thread "main" java.lang.NoClassDefFoundError: Sum
// i compile it in the dir D:\jdk.13\bin>
// do i need to set the classpath?
// my email is corradino@collegeclub.com

import javax.swing.JOptionPane;
public class Sum extends Object {

public static void main( String args[] )
{
int sum =0;
for ( int number =1; number <=100; number++)<br /> sum +=number;<br /> <br /> JOptionPane.showMessageDialog( null, " the sum is " + sum,<br /> "Sum integers from 1 to 100",<br /> JOptionPane.INFORMATION_MESSAGE );<br /> System.exit( 0 );<br /> }<br /> }<br /> /////////////////////////////////////////////////////<br /> <br /> I also tried C:\>c:jdk.13\bin\javac -classpath "
C:\jdk1.3\bin;" Sum.java
PS: this error never happened until i installed multiple
jdks and i also uninstalled all of them and reinstalled
jdk1.3 and i still get the same error!
23 years ago