Friday, August 20, 2010
Tuesday, August 10, 2010
HOW TO CAST BOOLEAN TO STRING IN JAVA PROGRAMMING
It is simple just create class from Boolean1 and write this code and save .java extention and run it.
public class Boolean1{
public static void main(String[] args){
boolean b = true;
String s = new Boolean(b).toString();
System.out.println("String is:"+ s);
}
}
public class Boolean1{
public static void main(String[] args){
boolean b = true;
String s = new Boolean(b).toString();
System.out.println("String is:"+ s);
}
}
Subscribe to:
Posts (Atom)
How to sort an HashMap based on value
import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java....
-
http://www.roseindia.net/apachevelocity/velocity-tutorials.shtml
-
http://download.oracle.com/javase/tutorial/uiswing/start/index.html
-
function data_change(field) { var check = true; var value = field.value; //get characters //check that all ch...