QUESTION 1
You are working with two components: Component A and Component B. Component B has a slightly different behavior than component A. What is the best way to reuse the default script of component A in component B?
A. Set a property in component B called sling:resourceSuperType with the path to component A and omit the default script in component B
B. Set a property in component B called sling:resourceSuperType with the path to component A and create an empty default script in component B
C. Set a property in component B called sling:resourceSuperType with the path to component A and include the default script of component A in the default script in component B
D. Copy the default script from component A into component B
Answer: A
Continue reading →