Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (7k points)

“Sysout” has neatly replaced with System.out.println() when the tab is completed in Eclipse. But I need to wrap some existing code in a System.out.println(). How can I do this?

1 Answer

0 votes
by (13.1k points)

The sysout template acts upon entire Java Statements

  1. Select the statement in the editor

  2. Press Ctrl+SPACE

  3. Type sysout and press enter. Now you can see that sysout will temporarily overwrite your statement(This will come back wrapped by System.out.println when you press enter).

Want to learn Java? Check out this Java certification from Intellipaat.

Related questions

Browse Categories

...