Forum: Java Nov 14th, 2005 |
| Replies: 3 Views: 2,849 There is. Here's a handy little link:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html |
Forum: Java Nov 2nd, 2005 |
| Replies: 11 Views: 1,978 public class b
{
public static void main(String args[])
{
a w = new a();
a.prt();
}
You're trying to call prt() as a static method of a, which it is not. Shouldn't that be w.prt()? |
Forum: Java Oct 17th, 2005 |
| Replies: 2 Views: 4,171 int i = 5; // Or number in the ascii table.
System.out.format("%c ", (char)i);
http://www.lookuptables.com/
Is that what you mean by special characters?
-Fredric |
Forum: Java Aug 22nd, 2005 |
| Replies: 4 Views: 2,124 :rolleyes:
You must be in the most difficult beginning programming class imagineable. |
Forum: Java Aug 18th, 2005 |
| Replies: 2 Views: 1,484 You should really use code brackets when pasting code, it makes it a lot easier to read.
I had to make two changes to make that work, the first was changing the line...
// The function... |
Forum: Java Aug 17th, 2005 |
| Replies: 12 Views: 2,023 |
Forum: Java Aug 17th, 2005 |
| Replies: 12 Views: 2,023 The error I'm getting is "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/java
This is a pretty generic error, and seems to be very common. It is telling you that whatever... |
Forum: Java Aug 16th, 2005 |
| Replies: 12 Views: 2,023 It sounds like you already compiled the class. You should have the two files...
HelloWorld.java (this is where the Java code you wrote is)
HelloWorld.class (This should have been created when... |