Multiple choice technology programming languages

How do you implement interrogative methods in VB.NET

  1. Using Sub keyword

  2. Using Function Keyword

  3. Using New Keyword

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In VB.NET, interrogative methods (methods that return a value) are implemented using the Function keyword. Sub is for procedures that don't return values. New is for instantiation.