No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, I'm getting this NullPointerException in one of my classes (state). This design is done by a state machine design pattern. From debugging it I can see that insertMoney under coffeemachine>State>insertMoney is null but I can't figure out why it's null. The line with the error is almost on the … |
|
Hi everybody, while i build my ant scripts in eclipse, and at the stage of [INDENT][/INDENT][B][exec] Invoking RMIC. [/B]i get an error complaining of some classes not being present. but where as they do exist in my project. Does anybody have any clue of why this happens Thanks in advance. |
|
hi everybody i have a problem of using iText for printing an existing pdf files. while reading the API of iText i came across methods where the Document object can be used and pdfWriter and writing pdf files etc. but i couldnt figure out how to print a given pdf … |
|
Re:
Hi, I writ a program that asks the user to input an integer and according to this integer the program should print astrisks equal to the input integer . The program does not compile ?? i need help fix this problem : import java.util.Scanner; public class Astrisksline { public static … |
|
Re:
The following is a question from my teacher along with the correct answer: public class IfTest { public static void main (String args[]) { if (true) if (false) System.out.println("a"); else System.out.println("b"); } } The code will compile correctly and display the letter b when run. I have to explain why … |