ApexSensei

Drills Apex basics

Hello, ApexSensei

Apex runs on Salesforce servers, so developers inspect values with System.debug().

Your task

Print one labelled debug line that reads Greeting: Hello, ApexSensei!, built from a String greeting variable.

String greeting = null;

Requirements

  1. The printed line should be Greeting: Hello, ApexSensei!
  2. System.debug( should be used to print
  3. The expression should be built with + greeting
  4. greeting should be 'Hello, ApexSensei!'

Sign in to open this drill