Skip to content

Free Salesforce Platform Developer I Practice Questions

Q12. What is the difference between a static method and an instance method in Apex?

a) A static method can be called without an instance of the class, while an instance method can only be called with an instance of the class.

b) An instance method can be called without an instance of the class, while a static method can only be called with an instance of the class.

c) A static method is used for server-side logic, while an instance method is used for client-side logic.

d) An instance method is used for server-side logic, while a static method is used for client-side logic.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Share this article...

Please Leave a Comment

error: Content is protected !!

Discover more from DYDC

Subscribe now to keep reading and get access to the full archive.

Continue reading