The Artima Developer Community
Sponsored Link

Java Buzz Forum
HelloWorld in Scala with the Eclipse Plug-in

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Ransford

Posts: 71
Nickname: rdransfo
Registered: Jul, 2008

Ryan Ransford is a Java developer working in the enterprise looking to make the world a better place
HelloWorld in Scala with the Eclipse Plug-in Posted: Jul 28, 2008 7:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Ryan Ransford.
Original Post: HelloWorld in Scala with the Eclipse Plug-in
Feed Title: Active-Active Configuration
Feed URL: http://active-active.blogspot.com/feeds/posts/default
Feed Description: Active-Active Configuration is a blog about making my place in the enterprise world better. This blog is primarily focused on Java articles, but be prepared to be challenged by posts about dynamic languages, agile tools, and the lighter side of geek culture.
Latest Java Buzz Posts
Latest Java Buzz Posts by Ryan Ransford
Latest Posts From Active-Active Configuration

Advertisement
The Eclipse plug-in for Scala makes you jump through two hoops before letting you run your application from the Run... menu:
  1. Your main object must extend Application.
  2. Since main is now overridden, you must use the override keyword on the method definition.
package activeactive

object Main extends Application {

override def main(args:Array[String]) {
println("Hello World!")
}
}

Read: HelloWorld in Scala with the Eclipse Plug-in

Topic: I'm trying to come up with a topic for the next article in my ongoing series on Java 7 over at... Previous Topic   Next Topic Topic: A tale of two iPhone 3G buyers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use