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 60b7b71

Browse files
Create Obama.java
Demonstrates the basic structure of a Java application. Prints a presidential quote
1 parent 0df1c79 commit 60b7b71

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 によって変換されたページ (->オリジナル) /