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

How do you achieve polymorphism in c#?

0 Answers  


What are the various components in crystal reports?

0 Answers  


What is the difference between static and constant variables?

0 Answers   Accenture,


Explain About Web.config

0 Answers   Keane India Ltd,


What is instantiating a class in c#?

0 Answers  






List the 5 different access modifiers in c#?

0 Answers  


WHAT IS THE EXACT USE OF INTERFACE(DONT TELL USE FOR MULTIPLE INHERITANCE)

5 Answers   eXensys,


What are generics in c#.net?

0 Answers  


Can arraylist hold primitive types?

0 Answers  


Is c sharp open source?

0 Answers  


How is lazy loading achieved?

0 Answers  


How long does it take to learn c# programming?

0 Answers  


Categories