- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
public class Library { public Library(String Libraries) { } private String Library; public static void main(String[] args) { Library firstLibrary = new Library("10 Main St."); Library secondLibrary = new Library("228 Liberty St."); //errors in this part, cannot find symbol //Symbol: class book //location: class library.library [COLOR="Red"]firstLibrary.addBook(new Book("The Da Vinci Code")); … |
|
// Loel Jolito NiƱo C. Bagabuyo package marathon; public class Marathon { public static void main(String[] args) { String[] names = { "Jessabel", "Jerome", "Kristine", "Rodel", "Grajen", "Reymart", "Kevin", "Sherwin", "Orniel", "John", "Kirk", "Jovert", "Rhea", "Mariella","Melart", "Michael" }; double[] times = { 341.0, 273.0, 278.0, 329.0, 445.0, 402.0, 388.0, 275.0, … |
|
[code] public class Book { String title; boolean borrowed; public Book(String bookTitle) { } public void borrowed() { } public void returned() { } public boolean isBorrowed() { } public String getTitle() { } public static void main(String[] arguments) { Book myBook = new Book("Da Vinci"); myBook.name = "The Da … |