Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c49d1e0

Browse files
Demonstrates the basic structure of a Java application.
Prints a presidential quote.
1 parent e578d3c commit c49d1e0

File tree

1 file changed

+16
-1
lines changed
  • textbook work/java software solutions/intro

1 file changed

+16
-1
lines changed
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
1+
//********************************************************************
2+
// Obama.java Author: Kelli Davis
3+
//
4+
// Demonstrates the basic structure of a Java application.
5+
//********************************************************************
6+
public class Obama
7+
{
8+
//-----------------------------------------------------------------
9+
// Prints a presidential quote.
10+
//-----------------------------------------------------------------
11+
public static void main(String[] args)
12+
{
13+
System.out.println("A quote by Barack Obama:");
14+
System.out.println("I think when you spread the wealth around it's good for everybody.");
15+
}
16+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /