Apex Programming : Level-4

Apex Control Structures
Free tutorial
Rating: 4.4 out of 5 (10 ratings)
1,309 students
1hr 51min of on-demand video
English [Auto]

Understand and use Decision Control Structure in Apex
If-Else statement in Apex
Nested If-Else Statement in Apex
Switch Statement in Apex
If Else If Ladder in Apex
Understand and use Loop Control Structure in Apex
While Loop in Apex
Do-While Loop in Apex
Traditional For Loop in Apex
Iterating Collection with For Loop in Apex
Break and Continue Statement in Apex


  • Basic Knowledge of Computer and willingness to learn.
  • Apex Programming : Level - 1 Course
  • Apex Programming : Level - 2 Course
  • Apex Programming : Level - 3 Course


This is a beginner-level course for Programming in Apex. This course is Level 4 of the complete Apex Programming Course.

This course provides a proper explanation of each concept theoretically along with a detailed practical explanation of each topic.

The resource provided with each video provides the slides used in the video for revision along with the screenshots of the practical explanation of the topics for proper review.

This course is for anyone who

  • is preparing for Salesforce Developer Interview.

  • wants to start their career as a Salesforce Developer.

  • are Salesforce Admin and Enhance their skills in Salesforce Development.

  • to get started with Programming in Apex.

  • to improve logic-building ability.

Before proceeding with this code one should complete -

  • Apex Programming: Level-1 Course.

  • Apex Programming: Level-2 Course.

  • Apex Programming: Level-3 Course.

Topics Covered in this course are -

  • If-Else Statement

  • Nested If-Else Statement

  • If-Else-If Ladder

  • Switch Statement

  • Switch Statement with SObject

  • Switch Statement with Enum

  • While Loop

  • Do-While Loop

  • For Loop

  • Iterating Over Collection with For Loop

  • Modifying Collection while Iterating over it

  • Removing Collection Elements while iterating over it

  • Break keyword

  • Continue keyword

  • Break and Continue with Nested Loop

  • Example Programs

  • Practice Exercises

This course will provide you -

  • Explanation in simpler and easier terms, hence easier to understand even for beginners.

  • Proper explanation of the concepts for better understanding.

  • Practical usage of the concepts for better implementation.

  • Example problems for better understanding of real-life use of the concepts.

  • Practice exercise for self-evaluation.

  • Better preparation for interviews.

  • Improving Logic Building Ability

Who this course is for:

  • Take this course if you are preparing for Salesforce Developer Interview.
  • Take this course if you want to start your career as Salesforce Developer.
  • Take this course if you are a Salesforce Admin and Enhance your skills of Writing Apex Classes and Triggers.
  • Take this course if you want to get started with Programming in Apex.
  • Take this course if you want to improve your Logic Building Ability.


Software Developer, Trainer, Author
Amit Kumar
  • 4.4 Instructor Rating
  • 211 Reviews
  • 4,547 Students
  • 6 Courses

Amit has been a Salesforce and Java/J2EE Developer in the IT industry for over 12 years.

He is 5x Salesforce Certified -

=> Salesforce Certified Associate

=> Salesforce Certified Administrator

=> Salesforce Certified Platform Developer - I

=> Salesforce Certified App Builder

=> Salesforce Certified JavaScript Developer - I

=> He is working as a Senior Salesforce Consultant.

=> He has been a Developer Support Engineer for 1 year.

=> He has been a Salesforce Consultant for 2 years.

=> He has been a Java Web Developer for 3+ years.

=> He has been a Software Trainer for 6+ years.

He holds multiple Degrees and Diplomas in the field of Computer Science.

=> Bachelor of Computer Application

=> Master of Computer Applications

=> Diploma in J2SE Development

=> Diploma in J2EE Development

=> Diploma in Android Development

=> Diploma in PHP & MySQL

=> Diploma in PC Architecture & Networking

He is a fine trainer who always explains things keeping in mind about the slowest student and lucidly explains things mostly with as relatable examples as possible. He runs one YouTube channel, "Proper Salesforce Tutorials," providing free tutorials for Salesforce and previews and information on all paid courses.

He also writes blogs on various topics related to Salesforce and Programming on Medium.

Through his Udemy Account, you can expect courses -

=> Salesforce Certification

=> Salesforce Technologies

=> Programming Languages (Intermediate & Advanced level)

Top companies trust Udemy

Get your team access to Udemy's top 22,000+ courses