adspace


When do you use virutal keyword?

Answer Posted / Ravi Prakash Srivastava

The 'virtual' keyword is used in VB.NET to declare a method as virtual, meaning it can be overridden by derived classes. It provides flexibility and polymorphism when inheriting classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of c# which are not present in vb.net?

1185


Explain the difference between datatable and dataset?

1423


How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?

1108


Explain how can we remove handlers at run time?

1077


What is the use of assembly?

1081


How to store images in sql server database through vb.net?

1024


What is early binding?

1016


What is option strict?

1214


How to send xml file on server using http protocol?

1077


How to retrieve images in sql server database through vb.net?

1043


Explain the difference between system.string and system.stringbuilder classes?

1082


Explain an assembly?

1059