In real time project when will we use Abstract class. and what are the difference between abstract and interface.
DELL, FCS, Polaris, Tanla Solutions, TCS,
6 22641suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
3 9720Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
5 8337class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
4 8767Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?
1 4868
Can you give names of Container classes?
What is the SimpleTimeZone class?
Highest level event class of the event-delegation model?
Name the class that is used to bind the server object with RMI Registry?
What class is used to create Server side object ?
What are the steps to create classes?
Tell me the Importent classes in net package?
What are the scope of the class?
You been asked to prepare a training class for completing expense statements. What points will you emphasize to insure accurate expense statements are submitted?
what is the basic difference in the formation of spores in subclasses basidiomycetes and ascomycetes?
how we can know the funcions available in a class recording java?
Difference between Class Module and Standard Module?
How would you create properties by using class Builder Wizard?
Can DES be used to protect classified information?
A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?