//Kommunikation 2er Klassen.//2., erhält von 'RuftMethode' Parameterpublic class Methode{ public void fibo(int n) { int i = 1; long x = 1, y = 1; if (n == 0 || n == 1) { System.out.println("1"); } else { while (i < n) { x = x + y; y = x - y; i++; } System.out.println(x); } }}-----------------------------------------//Kommunikation 2er Klassen.//1., ruft Methode der 2. auf und übergibt Parameterimport Methode;public class RuftMethode{ public static void main(String[] arg) { Methode m = new Methode(); m.fibo(Integer.parseInt(arg[0])); }}