0 / 60 seg.

How does the following code instantiate the Book object?

class Book {
    String title;
    int numPages;
}
public class TestBook {
    public static void main(String[] args) {
        Book book1 = new Book();
        book1.title = "Effective Java";
        book1.numPages = 300;
    }
}