Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Scanner(Scanner)
Scanner [message #1725838] Tue, 08 March 2016 04:40 Go to next message
jesse strucks is currently offline jesse strucksFriend
Messages: 1
Registered: March 2016
Junior Member
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(;

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 14:43 Go to previous message
Erick Hagstrom is currently offline Erick HagstromFriend
Messages: 107
Registered: April 2014
Location: USA
Senior Member
This would be more appropriate for a general-use java site. You might try
Previous Topic:How to modify standard Java completion proposals?
Next Topic:JPA MySQL Doesn't Show Tables
Goto Forum:

Current Time: Sun Sep 24 21:56:38 GMT 2023

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

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

Back to the top