πŸ“Š JAVA
Q. What is the correct syntax to call a method named "myMethod" from an object "myObject"?
  • (A) myObject.myMethod();
  • (B) myMethod.myObject();
  • (C) myMethod();
  • (D) myObject->myMethod();
πŸ’¬ Discuss
βœ… Correct Answer: (A) myObject.myMethod();

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Nagar
Publisher
πŸ“ˆ
88%
Success Rate