Java Application – Chapter and ChapterReader
Create a class to encapsulate the data and behavior of a chapter from Assignment 9. The class should have something like the following fields:
Chapter Number – int
Chapter Title – String
Starting Page Number – int
Ending Page Number – int
Use appropriate access modifiers when defining the data
Code accessor and mutator (get and set) methods for all class instance variables. Be sure to follow the class style and use _
If the chapter title is blank, or the values passed for the chapter number or page numbers are not valid, leave the associated instance variable unchanged.
The main method in this class should read the table of contents from a text file named toc.txt and use the class mutators to put the information into the Chapter object. The Chapter object should then be passed to a method to display chapter information using the class accessors and member method.
The toc.txt file contains semi-colon delimited fields for the chapter number, title, starting page, and the ending page for each book chapter. Download this file from Moodle and use it in your application.
The program output should appear as shown here:
Chapter Title Page Length
1 Introduction to Computers, Programming, and Java 1 32
2 Elementary Programming 33 42
3 Selections 75 44
4 Mathematical Functions, Characters, and Strings 119 38
5 Loops 157 46
6 Methods 203 42
7 Single-Dimensional Arrays 245 42
8 Multidimensional Arrays 287 34
9 Objects and Classes 321 44
10 Object-Oriented Thinking 365 44
11 Inheritance and Polymorphism 409 40
12 Exception Handling and Text I/O 449 46
13 Abstract Classes and Interfaces 495 40
14 JavaFX Basics 535 50
15 Event-Driven Programming and Animations 585 44
16 JavaFX UI Controls and Multimedia 629 48
17 Binary I/O 677 28
18 Recursion 705 33
Clarity of the line of thought.
Our Service Charter
Excellent Quality / 100% Plagiarism-FreeWe employ a number of measures to ensure top quality essays. The papers go through a system of quality control prior to delivery. We run plagiarism checks on each paper to ensure that they will be 100% plagiarism-free. So, only clean copies hit customers’ emails. We also never resell the papers completed by our writers. So, once it is checked using a plagiarism checker, the paper will be unique. Speaking of the academic writing standards, we will stick to the assignment brief given by the customer and assign the perfect writer. By saying “the perfect writer” we mean the one having an academic degree in the customer’s study field and positive feedback from other customers.
Free RevisionsWe keep the quality bar of all papers high. But in case you need some extra brilliance to the paper, here’s what to do. First of all, you can choose a top writer. It means that we will assign an expert with a degree in your subject. And secondly, you can rely on our editing services. Our editors will revise your papers, checking whether or not they comply with high standards of academic writing. In addition, editing entails adjusting content if it’s off the topic, adding more sources, refining the language style, and making sure the referencing style is followed.
Confidentiality / 100% No DisclosureWe make sure that clients’ personal data remains confidential and is not exploited for any purposes beyond those related to our services. We only ask you to provide us with the information that is required to produce the paper according to your writing needs. Please note that the payment info is protected as well. Feel free to refer to the support team for more information about our payment methods. The fact that you used our service is kept secret due to the advanced security standards. So, you can be sure that no one will find out that you got a paper from our writing service.
Money Back GuaranteeIf the writer doesn’t address all the questions on your assignment brief or the delivered paper appears to be off the topic, you can ask for a refund. Or, if it is applicable, you can opt in for free revision within 14-30 days, depending on your paper’s length. The revision or refund request should be sent within 14 days after delivery. The customer gets 100% money-back in case they haven't downloaded the paper. All approved refunds will be returned to the customer’s credit card or Bonus Balance in a form of store credit. Take a note that we will send an extra compensation if the customers goes with a store credit.
24/7 Customer SupportWe have a support team working 24/7 ready to give your issue concerning the order their immediate attention. If you have any questions about the ordering process, communication with the writer, payment options, feel free to join live chat. Be sure to get a fast response. They can also give you the exact price quote, taking into account the timing, desired academic level of the paper, and the number of pages.