Answer Posted / sonia.sardana
If there are overloaded methods in the base class, & u
marks one of the methods as shadows using the keyword
shadow in the derived class, then we cannot access the
overloaded methods.
Ex-
public class base
public sub test()
console.writeline("sonia")
end sub
public sub test(i as integer)
console.writeline(i)
end sub
end class
public sub derived
inherirts base
shadows sub test(x as integer)
console.writeline("Shadow method")
end sub
end class
sub main()
dim obj as new derived
obj.test()-->Invalid
obj.test(10)-->Valid
end sub
| Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
What is early binding?
What is the source code for display the picture in button click event?
What is datatype conversion?
write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.
Described strong typing
What languages does the .net framework support?
What is DLL HELL in VB.NET
What is the differences between dataset.clone and dataset.copy?
What is the use of errorprovider control?
Explain the difference between an xml "fragment" and an xml "document."
What is the difference between static or dynamic assemblies?
Explain the components of common language runtime.
What is the difference between datagrid and gridview?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
What is branching logic control in VB.NET?