SIGN IN SIGN UP

Login to your account

Username or Email *
Password *
Remember Me
Apex Intermediate Progress | ( Lessons)
%

Lesson: 08 | Objects (Instance)


An object is an instance of a class.

In Apex, You will need to create objects for non-static methods.

Here is the syntax of an object:

Class_Name Object_Name = new Class_Name ();

You can call the method with the object name:

Object_Name .Method_Name();

Example:


Prev You need to login to have access to the quizzes. Next

Mastered by 105 users.

Apex Intermediate

A. Apex DML Operations (8 lessons)
B. Apex Classes (17 lessons)
C. Apex Triggers (9 lessons)
D. Apex Exceptions (11 lessons)
E. Asynchronous Apex (6 lessons)
F. SOSL (10 lessons)
G. Testing Apex (9 lessons)
H. Apex Fast Recap (142 lessons)
I. Build Apex Coding Skills (64 lessons)
Go to top