public static void main ( String [ ] args ) { if ( args . length != 2 ) { System . exit ( - 1 ) ; } String mem = args [ 0 ] ; String sector = args [ 1 ] ; try { getNumSector ( mem , sector ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
The main class to invoke the getNumSector .