Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Difference between imperative and interrogative
code?

Answer Posted / nayana

Some methods return values or provide information back to
the calling code. These are called interrogative methods.
Others, called imperative methods, just perform a service
and return nothing to the calling code.
In VB.NET, methods are implemented using Sub (for
imperative methods) or Function (for interrogative methods)
routines within the class module that defines our object.
Sub routines may accept parameters, but they don't return
any result value when they are complete. Function routines
can also accept parameters, and they always generate a
result value that can be used by the calling code.

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Assembly?

990


Can delegates be used as callbacks?

959


Why do we use reflection in c#?

1000


What is sealed class in c#?

949


How main method is called in c#?

998


What is a clr host?

1009


What is arraylist c#?

1010


Can fields inside a class be virtual?

1020


Why we use methods in c#?

1011


What are abstract classes in c#?

960


What is the implicit name of the parameter that gets passed into the class set method?

1039


Distinguish between array and arraylist in c#?

1064


To whom a method is accesssed if it is marked as protected internal ?

1122


Explain boxing and unboxing in c#?

947


Should I use double or float?

953