public String toString(){ StringBuffer sb = new StringBuffer( 256 ); sb.append("[Field Name] [Value]
"); Class curr = this.getClass(); while(curr != null){ Field[] field = curr.getDeclaredFields(); for(int i=0; i
" ); } catch(IllegalAccessException iae){ sb.append( "IllegalAccessException
" ); } } curr = curr.getSuperclass(); //Recurse super classes }//end while return sb.toString();}//end toString()


What We Should Expect from Cell Phone Tech in the Near Future
The earliest cell phones included boxy designs full of buttons and antennas, and they only made calls. Needless to say, we’ve come a long way from those classic brick phones