Develop a working application that implements an interface. Some interfaces provided by the Java API to consider for your project are Runnable, Maps, Sets, or Lists, if you choose not to create one of your own. Develop the following, which requires you to implement a Runnable Interface:

Write a program that does the following:

  • Implements the runnable() interface
  • Implements the run() method of the runnable() interface to do the following:
    • Count down, starting with the number 5 and going to 0
    • Print the name of the thread and the current value of countdown integer for each integer counted down
    • Print “Blast Off!” when 0 is reached in the countdown
  • Creates five threads in your main class giving each thread a name: “Thread 1”, “Thread 2”, “Thread 3”, “Thread 4”, and “Thread 5”
  • Starts all five threads

Note: The Thread.currentThread().getName() method is helpful for retrieving thread names. ** Remember to comment ALL of your work throughly.

Explain Your Process:

  • Explain how you used the Interface.
  • Explain how overriding through an Interface was used.
  • Discuss where polymorphism was used in the application.
  • Identify where you used overriding or overloading in your application.
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.