What is polymorphism in system verilog ??
Companies Related Questions, System Verilog 0 CommentsPoly in means , means a same thing is known by different name Lets take a example here class Animal; virtual function AnimalType(); $display(“ Welcome to Type Animal”); endfunction endclass class Dog extends Animal; function AnimalType(); $display(“Welcome to Dog Animal Type”); endclass class Cat extends Animal; function AnimalType(); $display(“Welcome to Cat Animal Type”); endclass class Horse extends Animal; function AnimalType(); $display(“Welcome