how we declare interface

Answer Posted / venu

public interface Service
{
int add(int a,int b);
int mul(int c,int d);
}


by default access modifiers in nethods are public

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is http post and http get?

552


Which browsers support the xmlhttprequest object?

531


What are the different methods of session maintenance in asp.net?

548


What is the difference between a candidate key and primary key?

527


Explain authorization levels in .net ?

619






Define reflection in .net?

575


Explain client-side scripting?

577


What are the components of ado.net?

543


Why do we use sessions?

585


What is datagrid asp.net?

505


What is is post back property in asp net?

542


explain code with multi inhertance

1659


What is runat?

623


Explain About duration in caching technique

632


What are HTTP handlers in ASP.NET?

589