Trace the O/p for a program on inheritance and Polymorphism.
3 classes A,B,C
A with two methods
public virtual SomeMethodA
public virtual SomemoreMethodA
overide virtual SomeMethodA
new Method SomeMethodA
b new instance of B
b1 new instance of C
Answer / payal
call B's SomeMethodA
Call A's SomeMoreMethodA
call C's SomeMethodA
call C's SomeMoreMethodA
|Is This Answer Correct ?||1 Yes||0 No|
Why multiple inheritance is not possible in c#
What are three test cases you should go through in unit testing?
Can we write one page in c# and other in vb in one application ?
How do you debug an ASP.NET Web application?
In c# how to connect crystal report?
from web.config file with connection string who to interact means who to connect in gridview. in my system shows null something error what is the problem
In a stored procedure 4 select stmts there.If error comes in one select stmt will remaining normally executes?
int i = 1; int j = 1; System.Console.WriteLine(i == j); System.Console.WriteLine(i.ToString() == j.ToString()); System.Console.WriteLine((object)i == (object)j); Give the sample code above, what is the output to the console?
What is Bubble Event ?
For a combobox and a listbox same datatable given as a datasource. Now problem is that whenever focus of listbox changes selected value of combobox also get change or vice versa. what to be done to avoid this. According to requirement we cannot make different datasouce.
Hoe can i connect the table into the c# application?
Can you inherit multiple interfaces?