F
fusion
hi friends,
last night i was doing a programmes from one ebook,i look at one
programme that look very easy at first look and i created but then i
realize its bit of diffrent than i thought, here is the program.
"Write a Program that takes any no. of strings as command line argument
and print that string and its length in characters."
at first i created the program which outputs that string and its
length,but only problem was it prints length in no.whereas program
requires output in characters.i have search allmost every java book
that i have but i was unable to find any mathod or anything like this
so friends if anyone knows any technique or mathod then please reply
me.
last night i was doing a programmes from one ebook,i look at one
programme that look very easy at first look and i created but then i
realize its bit of diffrent than i thought, here is the program.
"Write a Program that takes any no. of strings as command line argument
and print that string and its length in characters."
at first i created the program which outputs that string and its
length,but only problem was it prints length in no.whereas program
requires output in characters.i have search allmost every java book
that i have but i was unable to find any mathod or anything like this
so friends if anyone knows any technique or mathod then please reply
me.