Accessing from command prompt is always fast in my opinion. you can get better performance form JDBC by using PreparedStatement, in case if you are not using already, doing batch inserts or update ,...
I guess you want to filter numeric string with alphabetic String. on homework front , mods are correct but I am giving you some hint which is applicable in general.
Netbeans has excellent Swing GUI builder, complete drag and drop and with flexibility to add your own code, event handlers and completely integrated with Netbeans. It also come with some rebuilt...
here are some of question I have collected, may be useful for you : http://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html
here <> is for representing Generics in java. Generics provide type-safety by checking type of Class at compile time to avoid ClassCastException in runtime e.g.
This is the most obvious I have seen :) must be true beginner. Anyway when you get NullPointerException than look at the line and see if any object on which you are calling method, variable or doing...
In Java you should trying using camelCase with variable, method or class names e.g. no_of_files_downloaded should be written as noOfFilesDownloaded. not mandatory but this is...
do you want to call this method on user action or you just want to call them directly, if you want to call them on user action than put a button and implement ActionListener , otherwise just call...
public static void main(String args[]) method is only needed to run the program , there is no need for compiling a class. in java an empty class is also valid and compile
Are you aware of any tool or plugin in Java for finding out possible race conditions by reviewing code ? I know its pretty hard to find out race conditions and even harder to reproduce so...