Chapter 2 of the BlueJ book. Walk through many of the chapters exercises.
Kristofer Younger c57283b353 Update 'README.md' 6 anos atrás
doc added doc 6 anos atrás
.DS_Store added doc 6 anos atrás
.gitignore Initial commit 6 anos atrás
README.TXT checkpoint 6 anos atrás
README.md Update 'README.md' 6 anos atrás
TicketMachine.java added doc 6 anos atrás
bluej.pkg checkpoint 6 anos atrás
bluej.pkh added doc 6 anos atrás
package.bluej checkpoint 6 anos atrás

README.md

NaiveTicket

the second Objects lab.

look for the Chapter reading you need in the doc folder.

  • Exercise 2.16 To what class does the following constructor belong? public Student(String name)
  • Exercise 2.17 How many parameters does the following constructor have andwhat are their types? public Book(String title, double price)
  • Exercise 2.18 Can you guess what types some of the Bookclass’s fields mightbe? Can you assume anything about the names of its fields?