
bohot hard
405 Pointsi dont undetstood this code ,can anyone explain this in brief
can anyone explain this in brief
private void loadPage(int pageNumber) { Page page = story.getPage(pageNumber); }
--another question is what are we doing in story class and in page class i am a bit confused ...
1 Answer

Phillip Seryazi
2,631 Pointsthe loadPage method takes a variable pageNumber and uses it to get a Page object through a call to story.getPage()