Hello friends this is the question asked to my friend in interview
how to input and output without string class in java...;)
Printable View
Hello friends this is the question asked to my friend in interview
how to input and output without string class in java...;)
I agree with JosAH its a pretty stupid question.
However, i suppose they are wanting you to make an array of chars - basically what a string is. You can read them using data input stream readChar() and output them using a print stream.
It would be awkard to manipulate them though, Strings make it a lot easier.
Berkeleybross
Programs do not need Strings. You can use only numbers.Quote:
how to input and output without string class