0
Alignment in #Java
Can anyone please tell me how to align statements at left/right/center in java???
5 Respostas
+ 1
Learner_Pratham please post the code snippet and explain what you are trying to achieve.
+ 1
Martin Taylor
Thank You Mr. Taylor. I got it. 😃😃
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
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.