Interview Question: Application and Need Of Virtual Functions

Status
Not open for further replies.

spartanthewarrior

Full Member level 2
Joined
Jun 13, 2007
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,142
Hi All,

Can any body tell me

What is the application of (Virtual Functions) in System Verilog.
Why we need (Virtual Functions) at all.

Suppose I have two functions with different name and I can achieve my functionality by accessing both the functions from 2 different class by creating objects for both the classes.

Then what is the real advantage of (Virtual Functions).
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…