in each systemverilog class there are 3 predefined methods for randomization: pre_randomize, randomize and post_randomize. the randomize method is called by the user for randomization of the class variables. the pre_randomize method is called by the randomize method before the randomization and the post_randomize method is called by the randomize method after randomization.