According to : https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_final.htm
A is correct : "Methods and classes are final by default."
According to : https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_defining.htm
C is correct : "The private access modifier declares that this class is only known locally, that is, only by this section of code. This is the default access for inner classes."
D is correct : "You can only have inner classes one level deep."
And according to : https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_access_modifiers.htm
B is false : "Interface methods have no access modifiers. They are always global."
There it is boys :)
My mistake.
Correct answers: A and C
Methods and classes are final by default. You cannot use the final keyword in the declaration of a class or method. This means they cannot be overridden. Use the virtual keyword if you need to override a method or class.
Interface methods are always global not public
B and C
This is the default access for inner classes—that is, if you don't specify an access modifier for an inner class, it is considered private.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
noox
Highly Voted 2 years, 10 months agoKe_James0302
Most Recent 1 month, 1 week agoirina_735
1 year agoArthuriusII
1 year, 9 months agoillyaOsiyuk
2 years, 11 months ago[Removed]
3 years, 1 month agoDonAldos
3 years agoMuzaffarMoiz
3 years ago[Removed]
3 years, 1 month ago