Question
Create an application that manipulates a billboard sign. Use the following guidelines: The program must include a Billboard class (separate from the main program class)
Create an application that manipulates a billboard sign. Use the following guidelines:
The program must include a Billboard class (separate from the main program class) that is capable of storing the text to display.
The class must include data fields
The Billboard class must include methods to manipulate the text (get, set, reverse, replace substring) as well as the capability to check the text (eg. test if the text is empty).
The Billboard includes a list of predefined messages that can be set as the message in the billboard.
The set method allows user to select a predefined message. Also, user can create his message
Add one extra method that can be used for the Billboard
The main program must create an object of Billboard class.
The main program must include a menu to allow a user to select a function of the Billboard object.
The application must exit upon user request.
For this project, do the following:
Create an application that manipulates a billboard sign based on the above guidelines.
Use comments in your code to demonstrate your understanding of each statement.
Make sure the program runs correctly before submission.
Java program requires the following:
Create a module
Create a Class
The use of Java function substring () to extrapolate a string of characters.
Recommend the following to simplify and successfully completing IP4:
Module: define a program module that requests program user to enter a string of characters. Use substring () functions to extract characters from inputted string and display them
Class: define a class that display a static message.
The main () program module should display a billboard that includes three options, call the module, create class object and exit the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started