Prathap Adusumilli

Greenhorn
+ Follow
since Aug 23, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prathap Adusumilli

A good rule of programming is to

"Program to an Interface not to an Implementation".

So List li = new Vector();
is cleaner and easily maintainable than Vector vec = new Vector();
17 years ago
If your client progam is the only one that going to run that jar file, then you can have a static variable to indicate if that process has been ever started before.

If the new process that you start is not a child of your client program and when the client process restarts for some reason then you might end up in a situation where your static varible has wrong value.
17 years ago
Operations on StringBuffer faster than those on String classes.

This link has more info on this...
http://www.javaworld.com/javaworld/jw-03-2000/jw-0324-javaperf.html
17 years ago
By default all the fucntions in java are virtual. In that if you are using a base call reference for an derived call object, the method in the derived class will be called (if its extended/implemented).
17 years ago