See gettitle: It's a String and the name of a method,
Where does the code use any of the get methods? It should use a method (book1.getTitle()) to access a class value and not access the class's...
Type: Posts; User: Norm
See gettitle: It's a String and the name of a method,
Where does the code use any of the get methods? It should use a method (book1.getTitle()) to access a class value and not access the class's...
What variable are you printing that has a null value? Where do you give that variable a value so that it is not null? If you don't assign it a value it will keep the null default value.
It is...