Ask Question
24 May, 13:32

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.

+1
Answers (1)
  1. 24 May, 15:26
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers