Notes by meiu

Displaying keyword search results 1 - 5
Created by meiu on March 31, 2011 20:05:53    Last update: March 31, 2011 20:05:53
The Java exclusive or operator is ^ . This example uses it to reverse an integer array: public class ExclusiveOrExample { public st...
Created by meiu on March 31, 2011 19:54:05    Last update: March 31, 2011 19:54:05
With StringBuffer/StringBuilder: public class ReverseString { private static... Without StringBuffer/StringBuilder: public class ReverseString { private static...
Created by meiu on February 09, 2010 03:26:14    Last update: March 31, 2011 09:00:19
Simple JDBC code for Oracle. import java.sql.*; public class JDBCHelloWo...
Created by meiu on February 28, 2011 16:01:10    Last update: February 28, 2011 16:01:10
Change port 1098 to 1096 in jboss-5.1.0.GA\server\all\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml . <bean class="org.jboss.services.binding.ServiceBin...
Created by meiu on July 29, 2009 19:30:35    Last update: July 29, 2009 19:30:35
Without the break statement, the Java switch/case block looks very deceptive. Code: public class TestCase { public static void ... Test: C:\tmp>java TestCase No arguments One argume...