0

Does anyone know how to reverse a character ( not a string )in java or any programming language.

i want to know that in java

8th Jul 2017, 12:08 PM
vanama YASHWANTH
3 ответов
+ 14
what do you mean? Reverse a char like? I guess you're talking about reversing a string...
8th Jul 2017, 12:21 PM
Dev
Dev - avatar
+ 5
In c we can reverse any string using reverse function
8th Jul 2017, 12:25 PM
Pranjal
Pranjal - avatar
- 1
to read a generic data type which is assimilable to an array, in Python3, you can use the slicing. in Python these data types are: strings, lists and tuples if you want see some examples, you can see my code: https://code.sololearn.com/cV8doyCj7Q3T/?ref=app (I had snippets of this code which I ordered to answer at your question ;) ) I have done also a little java main... https://code.sololearn.com/ctEkRCfjxHyQ/#java
18th Jul 2017, 6:19 PM
Gioele Raiano