public int countArguments( String args[] ) {
logger.debug( "In countArguments(..)" );
String [] readArray= new String [10];
for ( int i=0; i<readArray.length; i++ ) {
for(int count: readArray){
count=count+i;
System.out.println( "Number of arguments = " + count );
}
}
}
betny 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.