What is a valid statement about Apex classes and interfaces? - ProProfs Discuss
Topics
Products
Follow Us:

What is a valid statement about Apex classes and interfaces?



A. The default modifier for a class is private.
B. Exception classes must end with the word exception.
C. A class can have multiple levels of inner classes.
D. The default modifier for an interface is private.

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Feb 12, 2020

+ Answer
Request

3 Answers

John Adney

John Adney

Answered Nov 27, 2017

Interface methods have no access modifiers. They are always global. For more information, seeInterfaces.

1
 

victorkuldeep

IT Professional

Victorkuldeep, Project Lead, B.Tech, Noida

Answered Oct 26, 2017

The default modifier for a class is private.

Exception classes must end with the word exception.

1
 

Wyatt Williams

Wyatt Williams

Answered Sep 21, 2017

Exception classes must end with the word exception.
The default modifier for an interface is private.

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.