|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Alkuluku2
Ohjelmalla testataan onko_alkuluku-aliohjelmaa
Constructor Summary | |
Alkuluku2()
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
static int |
pienin_jakaja(int luku)
Aliohjelmalla tutkitaan onko parametrina tuotu luku alkuluku vai ei Algoritmi: Jaetaan tutkittavaa lukua jakajilla 2,3,5,7...luku/2. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Alkuluku2()
Method Detail |
public static int pienin_jakaja(int luku)
luku
- tutkittava luku
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |