Class Taulukko
java.lang.Object
Taulukko
public class Taulukko
- extends Object
Esimerkki dynaamisesta taulukosta
- Version:
- 1.0, 02.03.2002
- Author:
- Vesa Lappalainen
Taulukko
public Taulukko()
Taulukko
public Taulukko(int koko)
lisaa
public void lisaa(int i)
throws Taulukko.TaulukkoTaysiException
- Throws:
Taulukko.TaulukkoTaysiException
toString
public String toString()
- Overrides:
toString
in class Object
set
public void set(int i,
int luku)
throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
get
public int get(int i)
throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
main
public static void main(String[] args)