0

Alignment in #Java

Can anyone please tell me how to align statements at left/right/center in java???

6th Oct 2021, 3:08 PM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar
5 Respostas
+ 1
Learner_Pratham please post the code snippet and explain what you are trying to achieve.
6th Oct 2021, 3:43 PM
Sushil 🛡️
Sushil 🛡️ - avatar
+ 1
Martin Taylor Thank You Mr. Taylor. I got it. 😃😃
6th Oct 2021, 4:55 PM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar
0
Use IDE to format the code. eclipse: select the code and press ctrl+shift+f IntelliJ: select the code and press ctrl+alt+l
6th Oct 2021, 3:15 PM
Sushil 🛡️
Sushil 🛡️ - avatar
0
@Sushil Prasad Thank You! I have some doubts. Can you please elaborate the information. I mean, Is it not available on sololearn, or does it?? Secondly, you have told to use keyboard keys to format, but generally the formatting is done using special functions in codes. So, please add more information in your answer.
6th Oct 2021, 3:37 PM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar