473,398 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

interface methods

why interface methods concrete
Feb 21 '12 #1
1 1600
Hi Tanvir,

First of all, interface methods are not concrete they are implicitly abstract. means if you dont add the abstract keyword with method.then also they are abstract.

In order to implement an interface, You must have to provide implementation for all the methods declared in an interface.
Feb 21 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Fuzzy | last post by:
If an object implements an interface, are interface methods always virtual or only if accessed through the interface? For example, if I have: interface IFoo { public void Method1() } ...
20
by: Ole Hanson | last post by:
I am accessing my database through an interface, to allow future substitution of the physical datastore - hence I would like to declare in my Interface that my DAL-objects implementing the...
14
by: Laurent Vigne | last post by:
Hello, I would like to know how to make the methods of an interface inaccessible from outside Example: ---------------------------------------------- internal Interface ImyInterface { void...
0
by: hykim | last post by:
public __gc class PropertyCollection : public IDictionary, public ICollection, public IEnumerable { ... private: __property void IDictionary::set_Item(Object *oKey, Object *oValue);...
1
by: skootr | last post by:
I have a Public Interface defined in a class module. I also have a form that implements that interface After building the solution, I added an Inherited Form (inherited from the above-mentioned...
9
by: Benny | last post by:
The methods within an interface is not virtual. How do I go about doing the following: class BaseClass : IComparable { int CompareTo(Object o) {...} }; class DerivedClass : BasedClass {
3
by: kli | last post by:
I have a very peculiar problem. I have a c# class library that a access from a C++ MFC client through COM introp. This work almost well. One special interface method is translated wrong when...
4
by: =?Utf-8?B?U2FtZWVrc2hh?= | last post by:
A c# design question - why interface methods are designed to be implicitly public (that is, no access specifier) - for allowing flexibility to the classes implementing the interface? -- Thanks,...
0
by: Sparky74 | last post by:
Hi Everyone. I have an interface: namespace SharedInterfaces { public interface ICommunicationService { void SaySomething( String pText ); } }
3
by: Shrihari Devji | last post by:
Hello I have a windows service developed in VC++. It exposes some interface methods. I need to access them from C# client. I cant add the reference since it might be running on some other...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.