Member Avatar
I have been learning about collections such as arrays and arraylists and lists and have come across the term "interface" a fair bit. I know that an IList is an "interface" but I dont understand what an interface is or does. 1. What is an interface in C#? 2. How …
by iConqueror 27 in Software Development ()
Member Avatar
What are the advantages of interfaces in java over calsses. Please give me reply and mention interface importance in java. Thanks & Regards Jasonmark
by jasonmark238 in Software Development ()
Member Avatar
I am running into and problem where I am trying to pass an element in an array to a method to calculate the tax that is owed but all I get as a result is 0, which is not right. Here is the writeline: Console.WriteLine("Taxpayer # {0} SSN: {1}, Income …
by programnoob in Software Development ()
Member Avatar
As we know [LIST] [*]ServletContext [*]HttpSession [*]HttpServletRequest [/LIST] are interface in JSP SERVLET api of Java..! We repeatedly use it in our code for different purposes, but i am still confused where and in which class all abstract method for given interfaces are implemented ? Like setAttribute, getAttribute , removeAttribute …
by rushi3311 in Software Development ()
Member Avatar
I am writing some application for Android. Here my app receives sms and as soon as it receives, it launches another activity,say a browser with some url supplied. So here, I need two classes, broadcastReceiver( to receive sms) and Activity. But in java i can inherit only 2 classes. Since …
by kishanillur in Software Development ()
Member Avatar
i have this code for doing a remoting i m giving you all the necessary file codes this application working fine when im using the client as a windows form but when im triyng to use it with a web form it gives an exception at [code] bool st=login.CheckUn(txtun.Text); [/code] …
by kalpa23 in Web Development ()
Member Avatar
I know that technically, an Interface is used for reading and not writting or editing however, I want to add an add and addrange function to the following class, here is what I currently have which is not working [code] public class HrefCollection : IEnumerable<Href> { private IEnumerable<Href> hrefs; public …
by PierlucSS 52 in Software Development ()