A few MCQ's on LWC

Here are a few MCQ's on LWC that might be helpful.

Here are a few MCQ's on LWC that you might find helpful!

What’s the annotation used to invoke an Apex method imperatively from LWC?

  1. @future
  2. @isTest
  3. @AuraEnabled
  4. @cacheable

What’s the annotation used to wire an Apex method to a property or function inLWC?

  1. @future
  2. @AuraEnabled(cacheable=true)
  3. @AuraEnabled

Can we have a css file in the LWC resource bundle?

  1. Yes
  2. No

Can I import styles from another component into my component using import statement?

  1. Yes
  2. No.

What are the maximum no of components that we can include in an LWC

  1. 9
  2. 25
  3. 100
  4. No limit