Salesforce Development Tra 13| Interface | Constructor | Default | Non Parameterized | Parameterized
Автор: Swapna Salesforce
Загружено: 2022-06-22
Просмотров: 925
Salesforce Realtime Training #Apex Session 13 Interface & Constructor by Swapna @ +919662460161
***********************************************************************
Notes
#Interface : whenever you have a class only with a method no data/no varaible
Class containing only method is called interface
Properties:
interface makes implementation of a methods mandate.
Variable can be decalred at method varaible or instance varaible
#Constructor : Constructos are special methods that are called/invoked when an object is created from the class.
Properties :
Method name will be same as class name.
Must be Public Access Modifier
Constructor do not have return type.
A constructor is automatically called when an object(class) is created.
This Method will invoked only once that is at the time of creating object(class).
Use:
Initialization
Passing Class varaibles
3 Type
: Default Constructor
Non-Parameterized Constructor
Parameterized constructor
********************************************************************************
Interview Questions:
Ho do you implement the interface?
What is the Keyword/How do you call intraface class in other class?
How do you overrite the Business logic while using the "Implements"?
What is the "Implements" Keyword and when do you use it?
What is the constructor?
How many types are there ?
Can you wite constructor class ? (Practial Exacmple/write code)
how do you pass values to the constructor?
What is the wrapper?
Can write wrapper method/class ?
how do you decalre the varaibles in wrapper class?
How do you set or get the values to the wrapper class?
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: