ss mal auf unterster Ebene, angefangen vom Source Code bis hin zum ausführbaren Java Programm zeigen.
===== Hier mein Beispielprogramm: =====
<code java ListArgs.java>
public class ListArgs {
pu... ing string) {
System.out.print(string);
}
}
</code>
===== Was macht das Programm? =====
Nicht viel... die **zweite Zeile** eine besondere Bedeutung:
<code java>public static void main(String[] args) {</co
n fact, i cant realy tell anymore if I wrote this code or if i found it somewhere on the internet :). It looks pretty much like programm code i usualy make. But will not claim that this is MY Code. Just a Code that solves the Problem as requested for example purposes.
<code java ProgramHierarchy.ja
====== CS106A BouncingBall Sample Code Phenomenon - Ball bounces forever? ======
This is the "BouncingBall" Sample Code for [[http://see.stanford.edu/see/courseinfo.aspx... stanford.edu|STANFORD University]].
Testing the Code on my computer with some changes at the parameter... //www.youtube.com/watch?v=RFEuTBagNkk
===== Java Code: =====
<code java BouncingBall.java>
/*
* File:
74871&v=TL7tdNp0raE&feature=iv]]
Question was:
<code>
what is the difference between c+=b and c=+b
</code>
My Answer to that Question is: thats c=c+1 and the next is c=b. See this little demo:
<code java TestingAssignmentOperators1>
/**
* Messing ... stem.out.println("--- THE END ---");
}
}
</code>
{{tag>java learning computer programming assi
ww.stanford.edu|STANFORD University]].
===== My Code: =====
<code java DrawLines.java>
/*
* File: DrawLines.java
* -------------------
* Name: Axel Wern... ntire program
* requires fewer than 20 lines of code.
*
* PERSONAL FEATURE BONUS:
*
* The tempora... h
*/
GLine tmpLine = new GLine(0,0,0,0);
}
</code>
--- //[[mail@awerner.myhome-server.de|Axel Wer
eDemo_WarGames_LoginDemo ======
Just some little code demonstrating a do_while loop in java and some si... avorite Hacker Movie of all times - "WarGames".
<code java DoWhileDemo_WarGames_Login.java>
import java... rCounter++;
}
}while(isWrongCommand);
}
}
</code>
{{tag>java do while input output simple inter
cal Center Freiburg who supported me.
Here's the Code for all to test and learn. Free to use. Just gimm... nd link to my website if you use it somewhere.
<code java flashySquare.java>
import java.awt.*;
impor... h=getWidth();
canvasHeight=getHeight();
}
}
</code>
--- //[[mail@awerner.myhome-server.de|Axel Wer
http://www.stanford.edu|STANFORD University]].
<code java PythagoreanTheorem.java>
/*
* File: Pythago... e Result c = sqrt(a²+b²) is: " + result );
}
}
</code>
--- //[[mail@awerner.homeip.net|Axel Werner]]