The Artima Developer Community
Sponsored Link

Java Buzz Forum
Interface-based applications

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
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Interface-based applications Posted: Sep 26, 2016 4:57 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Interface-based applications
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

What's strange about Java? Every programming language has its quirks and Java is no different. In this post, I present one of Java's oddities, which was introduced to this language in the Java 8 release.

Basing applications on interfaces

A Java application consists of at least one class that declares a main() entry-point method with the following header -- args is optional and can be replaced with another non-reserved identifier:

public static void main(String[] args)

For example, you create a simple SayHello application whose main() method outputs a hello message. The source code appears in Listing 1.

To read this article in full or to leave a comment, please click here

Read: Interface-based applications

Topic: JUnit rules – executing additional verification when exceptions are thrown Previous Topic   Next Topic Topic: SQL - 5 Best Books to Learn and Master SQL and Database design

Sponsored Links



Google
  Web Artima.com   

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