Forum: Java Oct 23rd, 2008 |
| Replies: 2 Views: 1,394 Or join to any of the online programming website ACM is hosting. You won't find the solution for most of the problems, but there are a lot of hints and helps available. Plus, they have a huge... |
Forum: Java Mar 22nd, 2008 |
| Replies: 3 Views: 703 It should be database specific problem. |
Forum: Java Mar 7th, 2008 |
| Replies: 7 Views: 1,543 If I am not wrong, I think you are trying to get the value for a specific object. In that case, static method is not your solution. You should not use static methods at any case but some particular... |
Forum: Java Mar 7th, 2008 |
| Replies: 7 Views: 1,543 In addition to what Ezzaral said, in any good IDE or editor you should be able to get a list of static methods as long as you just type in the class name.
Your return thing.class.getNumber(); //... |
Forum: Java Oct 4th, 2007 |
| Replies: 4 Views: 736 datz great.... if you could post what have u figured out, it can be a good reference for future... :) |
Forum: Java Oct 4th, 2007 |
| Replies: 11 Views: 1,999 if you get any error msg, you should not loose your hope... getting error msg is good as you can know what is going wrong. |
Forum: Java Sep 28th, 2007 |
| Replies: 8 Views: 853 if it is null pointer exception, thn it must have told you the line number, and the show you the hierarchy of the method calls, exactly where it was created... post both code and the error message. |
Forum: Java Sep 24th, 2007 |
| Replies: 12 Views: 2,790 awww! tell us more about your situation... if you still try, you ll pass for sure... here we can at least show you some way. |
Forum: Java Sep 21st, 2007 |
| Replies: 12 Views: 2,790 yah... for your reference in future, in java you have to give the same name with java extension as the class name (unlike C++)... if you want to run it manually, add JRE in your classpath then simply... |
Forum: Java Aug 15th, 2007 |
| Replies: 5 Views: 2,570 u have to use session, which will make sure the same user is accessing.
the code u have given shud return u a default value or null pointer exception... whn u r creating new member, it doesn't... |
Forum: Java Aug 14th, 2007 |
| Replies: 5 Views: 2,570 there is different ways to solve the problem. you can store the value in a static variable if you have only one user at a time (which is not the case i believe), or you can directly access the... |
Forum: Java Aug 14th, 2007 |
| Replies: 4 Views: 7,809 I am not clear about the problem yet. But seems like you did not declare any class.
In java, almost e'thing is an object. So in order to make your function work, you have to put it inside an object.... |