+ Start a Discussion
Syed Shoaib 6Syed Shoaib 6 
Hello ,
Interface
public interface parent
{
    public integer getgrade();
          }
Classes that implements Parent
public class hashim implements parent
{
    private integer grade ;
    private string school;
     
    public hashim(integer g)
    {
        grade=g;
    }
    public integer getgrade()
    {
        return grade;
    }
}
public class umiama implements parent{
    private integer grade ;
    private string school;
     
    public umiama(integer g)
    {
        grade=g;
    }
    public integer getgrade()
    {
        return grade;
    }
}
public class hareem implements parent
{
    private integer grade;
    private string school;
     
    public hareem(integer g)
    {
        grade=g;
    }
    public integer getgrade()
    {
        return grade;
    }
}
Apex Code
hashim h1 = new hashim(1);
umiama u1 = new umiama(3);
hareem h2 = new hareem(12);
parent[] gradeswitch = new parent[] {h1,u1,h2};
integer finalgrade = gradeswitch[0].getgrade();
system.debug('Your grade is '+ finalgrade);

Getting construct not defined error on hareem h2= new hareem(12);

 
Ashok Kumar 454Ashok Kumar 454 
I have been trying to complete this trail
Use Custom Metadata Types in Formulas, Default Values, and Validation (salesforce.com)
 but can't be able to solve it
My Validation rule is 
IF(( ISPICKVAL( Support_Tier__c , "Gold") && ( AnnualRevenue < $CustomMetadata.Support_Tier__mdt.Gold.Minimum_Spending__c * 20)), TRUE, FALSE)

but I'm Receiving a weird error called
"Challenge not yet complete in Creative Hawk Playground
In the validation rule named 'Revenue_Validation', we can’t find a reference to '$CustomMetadata.Support_Tier__mdt.Gold.Minimum_Spending__c'."

even though it was there in the Validation rule
Vance OkitaVance Okita 
hi all,
I have been stuck for the past 2 days trying to complete this superbadge. I keep getting the error message that says 
"The solution for extending access does not have the correct name."
I created a permission set called "bilingual pilot" and kept deleting the permission set but recreated it. I played around with the permission set object settings but I keep getting this error message when tryng to verify. I saw solutions that never worked for me like assigning Shinje to the role of CEO. I have attached a screenshot. Bilingual ppilot is spelled correctly. if ther is anything I could do to pass this please help!User-added image
 
Carlos KokumaiCarlos Kokumai 
I'm doing the Business Administration Specialist superbadge and I can't complete challenge 4... The following message appears: "Challenge Not yet complete... here's what's wrong: There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: UUUXBGGI"
Michael ZamoraMichael Zamora 
I am using a Developer Edition for this superbadge, but keep getting this error when I check step 3. Can anyone help on this please?
Error ID: PXUPMWBJ
Ruby FieldsRuby Fields 
I am doing the User Authentication Settings Superbadge Unit and followed the steps to Sign Up for a Developer Edition Org with Special Configuration and linked it to my trailhead account. When I do the first challenge "Password Policies" I get the error. We can't find the expected password policies for your organization.  It seems it is not checking in the correct ORG *Dev Edition" I have several Dev Editions and use same email.  

I am very frustrated as I know I am doing the challenge correctly.

Please help, thanks