Paket terminaltask;
öffentliche Klassenbibliothek {
public static void main(String[] args) { // TODO Auto-generated method stub
Bibliotheksbuch = neue Bibliothek();
int pa = book.read(300);
System.out.println(pa);
}
public int read(int seiten)
{
Seiten zurück;
}
}
Ausgabe --300
Das obige ist der detaillierte Inhalt vonBibliotheksaufgabe. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!