Eclipse IDE provides quick shortcut keys to print System.out.println statement in Java but unfortunately not every Java programmers are familiar of that. Even programmers with 3 to 4 year of experience sometime doesn't know this useful Eclipse shortcut to generate System.out.println messages. This Eclipse tips is to help those guys. Let me ask you one question, How many times you type System.out.println in your Java program? I guess multiple time, while doing programming, debuggingand testing small stuff. System.out.println is most preferred way to print something on console because it doesn’t required setup like configuring Log4J or java.util.Logger . Though I recommend using logging for better information display in production code, nobody can undermine importance of System.out.println statement in Java. On the quest of learning Eclipse shortcut, some of them which I have discussed in my list of Top 30 Eclipse shortcut for Java programmers, I found a very useful Eclipse shortcut for generating code for System.out.println statement in Java source file. By using this Eclipse shortcut you can create System.out.println() messages in 60% less time, as you only need to type the message. This Eclipse shortcut will place your cursor right in the place, where it should be i.e. inside System.out.println method.
Eclipse shortcut to System.out.println in Java program - Tips
Read more »
0 Response to "Eclipse shortcut to System.out.println in Java program - Tips"
Posting Komentar