How to insert multiple tabs string in java?
ex : getName() + '\t' + '\t' +getLastName()" Doesn't work. Please Help!!
Your example should work; however there's no reason to append each tab character individually. This works, too:
getName() + "\t\t" + getLastName();
The errors you are getting are not related to the tab characters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With