Ask Question
6 May, 19:58

Assume the availability of class named DateManager that provides a static method, printTodaysDate, that accepts no arguments and returns no value. Write a statement that calls printTodaysDate.

+5
Answers (1)
  1. 6 May, 22:30
    0
    Hi!

    The answer is:

    DateManager dm = new DateManager (); / / Instanciate.

    dm. printTodaysDate; / / Calls the method.

    Explanation:

    If you are working on object-oriented programming, then:

    First, you have to instanciate the class DataManger. Then, you can call printTodaysDate on the instance dm of DataManager.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Assume the availability of class named DateManager that provides a static method, printTodaysDate, that accepts no arguments and returns no ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers