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?

Answers were Sorted based on User's Feedback



What is the Difference between imperative and interrogative code?..

Answer / 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

What is the Difference between imperative and interrogative code?..

Answer / kamlesh sharma

imperatice funcition which returns a value and
interrogative function does not return any value

Is This Answer Correct ?    3 Yes 22 No

Post New Answer

More C Sharp Interview Questions

Is multilevel inheritance possible in c#?

0 Answers  


If I want to override a method one of class A and in class b then how do you declare?

0 Answers  


Explain Constructor and destructor?

0 Answers  


Describe ways of cleaning up objects.

8 Answers   Wipro,


Can you inherit from multiple classes in c#?

0 Answers  


how to convert String array to StringBuilder array or vice versa?

3 Answers   Wipro,


Can we inherit an interface in an abstract class?

6 Answers   HCL,


What is definition in c#?

0 Answers  


What is a static field?

0 Answers  


How do you implement Inheritance in dot net ?

5 Answers   MMTS, Sea Energy,


Is c# good for web development?

0 Answers  


WHAT ARE Design Patterns USING IN DOTNET

3 Answers   HP,


Categories