These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes
JAVA01/Counting Characters In Arguments
Classnotes
|
JAVA01
|
RecentChanges
|
Preferences
Write a program that takes your first command line argument and prints out the length of it. Call the program "StrLen
?
.java"
For example, if I were to run it like this:
C:\> java StrLen
?
hello
I should see this:
5
Classnotes
|
JAVA01
|
RecentChanges
|
Preferences
This page is read-only |
View other revisions
Last edited May 29, 2003 12:42 am
(diff)
Search:
(C) Copyright 2003 Samuel Hart
This work is licensed under a
Creative Commons License
.