Answer: Overloads keyword is used in Function Overloading in VB.Net,but it's not necessary to write Overloads keyword in function.
We can simply write the same method as follows:
Public Function GetEmployee() As String
End Function
Public Function GetEmployee(ByVal employee_id As Integer) As String
End Function
Asked In: Many Interviews |
Alert Moderator