What are the Different kinds of methods?

Answers were Sorted based on User's Feedback



What are the Different kinds of methods? ..

Answer / a.mustaq ahmed

these are of two types
1.Concrete:which have implementation.
2.Abstract:which doesn't have any functionality.

Is This Answer Correct ?    15 Yes 5 No

What are the Different kinds of methods? ..

Answer / sarathi soja

Instance methods,abstract method,static methods,sealed
methods,virtual method

Is This Answer Correct ?    11 Yes 3 No

What are the Different kinds of methods? ..

Answer / manish

All of you are right!
However one more categorization can be done depending on
RETURN of METHOD.

INTERROGATIVE - HAS SOME RETURN value (FUNCTIONS in VB.NET)
IMPERATIVE - NOTHING TO RETURN BUT JUST SOME EXECUTION (SUB
in VB.NET and VOID RETURN TYPE METHODS IN C#)

Is This Answer Correct ?    6 Yes 3 No

What are the Different kinds of methods? ..

Answer / jayesh

[1] Static Mathod
[2] instance method

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More C Sharp Interview Questions

What is the benefit of dependency injection c#?

0 Answers  


Explain the difference between a sub and a function in c#.

0 Answers  


Is constructor a static method?

0 Answers  


How many catch blocks can be there for a single try block?

5 Answers   Clover, HCL,


How can we give strong name to assembly? What is satellite assembly?

2 Answers   SMNetserv,






Why is it efficient to use System.string under System.Text.StringBuilder ?

0 Answers   Siebel,


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

0 Answers   CDC,


Does c# support properties of array types?

0 Answers  


What is interface c#?

0 Answers  


What is method and function in c#?

0 Answers  


What is c# windows form application?

0 Answers  


From which base class do all Web Forms inherit from?

0 Answers   Siebel,


Categories