In reply to UVM_LOVE:
The super keyword basically refers to the parent class. (Read more on Class Hierarchy, if unaware). Somewhere in the UVM file directory there is a file uvm_agent, which has a function build_phase too; and so when you include this line in your code
super.build_phase(phase);
You are basically calling that function inside uvm_agent class.
Why only uvm_agent? Because in your example, the class example_agent extends from uvm_agent.
Correct the typo bui1d_phase and then check for errors.
Also you must have an ‘endclass’ at the end