Initial Commit
This commit is contained in:
6
Java/ThousandTofive/.classpath
Normal file
6
Java/ThousandTofive/.classpath
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
17
Java/ThousandTofive/.project
Normal file
17
Java/ThousandTofive/.project
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ThousandTofive</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
12
Java/ThousandTofive/.settings/org.eclipse.jdt.core.prefs
Normal file
12
Java/ThousandTofive/.settings/org.eclipse.jdt.core.prefs
Normal file
@@ -0,0 +1,12 @@
|
||||
#Thu Nov 25 15:47:54 EST 2010
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
BIN
Java/ThousandTofive/bin/ThousandToFive.class
Normal file
BIN
Java/ThousandTofive/bin/ThousandToFive.class
Normal file
Binary file not shown.
16
Java/ThousandTofive/src/ThousandToFive.java
Normal file
16
Java/ThousandTofive/src/ThousandToFive.java
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* This class will display all numbers from 1000 to 5 inclusive displays in
|
||||
* decreasing order
|
||||
*/
|
||||
|
||||
class ThousandToFive{
|
||||
|
||||
/*
|
||||
* Main method. everything starts here
|
||||
*/
|
||||
public static void main(String[] args){
|
||||
for (int i = 1000; i > 4; i--){
|
||||
System.out.println(i);
|
||||
} //end for loop
|
||||
} //end main method
|
||||
} //end class
|
||||
Reference in New Issue
Block a user