Ask Question

How can you create a class without any methods, yet call a method from that class?

+3
Answers (1)
  1. 7 September, 12:37
    0
    Every class has a special method called a constructor which is a function you can call.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “How can you create a class without any methods, yet call a method from that class? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers