What is an Interface and What is an Abstract Class?

Answer Posted / manoj kumar tripathi

We can not create object of abstract class.It is base class
which inherit by other class.we can give at least one
definition in the class.It support inheritance.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

714


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33

1928


Difference between web user control and web custom control?

668


Difference between using directive vs using statement?

695


How ViewstateMac works?

2552


What is marshalling ? Is it a part of asp.net ?

810


What are the types of session in asp.net?

697


Name some asp objects?

752


How does output caching work in ASP.NET?

680


What is asp.net futures?

744


What is the difference between ldap and active directory?

755


When we use cookie less session? Explain its working?

757


What are resource file and how do we generate resource file?

757


What is master page in dtp?

736


What is active web page?

730