Q. What is the difference between a method declaration and a method definition in Java?
β
Correct Answer: (A)
Declaration specifies method name, return type, and parameters; definition provides the implementation
You must be Logged in to update hint/solution