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 11, 2010 04:34:48    Last update: February 11, 2010 04:34:48
Bring up the System Properties dialog by pressing Windows Logo + Pause/Break . Select the Advanced tab. Click the "Environment Variables" button. Create a new environment variable by clicking New . Edit an existing one by clicking Edit . User specific variables are on the top. System wide variables (effective for all users) are at the bottom.
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...