No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Check line #88 of your code. the state varaible is only declared, not initialized. By default instatnce varaibles are null, and you use this state object on line # 102 which gives you the NullPointException. Always initialize variables before use.
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 …
try out this program, i think this would satisfy your requirement. import java.util.Scanner; public class Test { public static void main (String[] args) { int x=1; int count=0; Scanner keyboard= new Scanner(System.in); while (x >=1) { System.out.print("Please enter an integer or (Exit) to stop:"); x=keyboard.nextInt(); for ( count = 0; …
imaging ur code snippet was rewritten in this manner" public class IfTest { public static void main (String args[]) { if (true) { if (false) { System.out.println("a"); else{ System.out.println("b"); } } } if you just don't have braces as in the if(true) case then its been accepted as the code/block …
The End.
chan95