About 50 results
Open links in new tab
  1. java - Creating a book class - Stack Overflow

    Dec 11, 2020 · Here is code for class Book. In toString method there is String.format method which makes readable string. Nothing more special. When equals method is overridden then hashCode …

  2. Creating a program with Book class and TestBook class in Java

    Creating a program with Book class and TestBook class in Java Asked 11 years, 3 months ago Modified 7 years, 3 months ago Viewed 34k times

  3. java - Library system - Borrowing a book - Stack Overflow

    Mar 24, 2015 · I've been working on a library system for a few weeks now, but have a problem whilst trying to initialize the "borrow" feature for the system. I would really appreciate if someone …

  4. java - how to output the book's title, author, and show the bookID ...

    Dec 5, 2021 · The book properties are set by the constructor, then the Book goes in the array. To access a part of your book object you might do bookArray [1001].title to get the title right? Just put …

  5. java - Library book sorting - Stack Overflow

    Mar 23, 2022 · Complete main () by inserting a new book into each list using the respective LinkedListLibrary and ArrayListLibrary insertSorted () methods and outputting the number of …

  6. Java edit book, loan book and return book methods

    Dec 9, 2015 · I am looking to implement edit book, loan book and return book function and don't know where to begin. So far I have 4 classes consisting of a Book, Library, LibraryTester and helperutilities …

  7. java - Get Author-name from Book-class simple - Stack Overflow

    Aug 30, 2016 · Author author; String title; int noOfPages; boolean fiction; write standard get / set method headers for each of these attributes. [Coding] Actually code and compile the Book class based on …

  8. What is the default access specifier in Java? - Stack Overflow

    Aug 20, 2010 · I just started reading a Java book and wondered; which access specifier is the default one, if none is specified?

  9. android - Java Book or Website (like Cplusplus.com) for C

    Jul 26, 2011 · Java Book or Website (like Cplusplus.com) for C++ programmers to learn java very fast [closed] Asked 14 years, 6 months ago Modified 14 years, 6 months ago Viewed 1k times

  10. Java Code for calculating Leap Year - Stack Overflow

    I am following "The Art and Science of Java" book and it shows how to calculate a leap year. The book uses ACM Java Task Force's library. Here is the code the books uses: import acm.program.*; p...