Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Scanner(Scanner)
Scanner [message #1725838] Mon, 07 March 2016 23:40 Go to next message
Eclipse UserFriend
Hello, i'm new to java and i'm loving it so far, i only need a little bit of help!

For example i created a scanner
public static Scanner in = new Scanner(System.in);


To print a line i'm using this:

            System.out.println("Hello world!");


is there a way to make the code smaller like this?
msg("Hello world!");


Thanks !
Re: Scanner [message #1725929 is a reply to message #1725838] Tue, 08 March 2016 09:43 Go to previous message
Eclipse UserFriend
This would be more appropriate for a general-use java site. You might try http://stackoverflow.com/
Previous Topic:How to modify standard Java completion proposals?
Next Topic:JPA MySQL Doesn't Show Tables
Goto Forum:
  


Current Time: Tue Jul 15 19:58:05 EDT 2025

Powered by FUDForum. Page generated in 0.03227 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top