how to create a java program to print the same statement that we entered in the output without intimating the length of the statement.. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

how to create a java program to print the same statement that we entered in the output without intimating the length of the statement..

19th Nov 2016, 12:08 PM
Gajenthiran.V
Gajenthiran.V - avatar
2 ответов
0
I'm not sure if this is what you're asking. but you can just save the input as a variable and then return it or print it when necessary.
20th Nov 2016, 12:38 AM
steven trippier
steven trippier - avatar
0
tanq for ur answer mr.steven but we get and print the statement easily... if we want to do thz we have to get the length of the statement as a input to allocate memory but i need to do the same without getting the length of the statement or string ..
20th Nov 2016, 3:43 AM
Gajenthiran.V
Gajenthiran.V - avatar