Question: JAVA: OOP Bible Main.java Overview Design a set of OOP classes to model a bible app. Details Bible ArrayList books String translation randomVerse() search(String s)

JAVA:

OOP Bible

Main.java

Overview

Design a set of OOP classes to model a bible app.

Details

Bible

  • ArrayList books
  • String translation
  • randomVerse()
  • search(String s)

Book

  • ArrayList chapters
  • BookType type
  • String author
  • TestatmentType testament

BookType - enum

  • Law, History, Poetry, MajorProphets, MinorProphets, Gospel, PaulineEpistles, GeneralEpistles, Prophecy.

TestamentType - enum

  • OldTestament, NewTestament

Chapter

  • ArrayList verses
  • int number
  • String title
  • toString()

Verse

  • String text
  • int number
  • boolean isHighlighted
  • highlight()
  • unhighlight()
  • comment(String comment)
  • ArrayList comments
  • toString()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!