Is VB.NET object oriented? What are the inheritances does
VB.NET support ?
Answers were Sorted based on User's Feedback
Answer / manish
vb.net is object oriented concept.it is supports to
inheritence but it donot support to multiple inheritance.
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / deepu
yes,vb.net is object oriented.
vb.net supports only
1)single level inheritance/simple inheritance
2) multi level inheritance
3)hierachical inheritance
vb.net doesn't supports
multiple,hybrid inheritance.
Is This Answer Correct ? | 11 Yes | 2 No |
Answer / nirman
With respect to Answer 3 of this Question.
I think following are still not clear-
4)Heirarichal inheritance
Single class inherits to Multiple classes
This is not possible in .NET.
5)Hybrid Inheritance
Single class inherits to different classes and that class
inherits to one class
It should be Single class inherits to different class (not,
classes) and that class inherits to one class
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / hari
VB.Net is an Object Oriented Language.
It doesn't support multiple inheritance. For this purpose,
interfaces are introduced.
VB.Net supports multiple interfaces
Is This Answer Correct ? | 7 Yes | 5 No |
Answer / kumar
Yes vb.net is object oriented and not case sensitive. it's doesn't support multiple inheritence
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / cherran
Answer 4 & 5 is the correct one. Pls ignore all other answers.
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / jagan mohan n r
Multiple Inheritance can be achieved in OO through a
concept called Mixin.
But Vb.Net doesn't support the same since if the two parent
classed have the methods/attributes with same, then the
compiler will not know which one should be implemented in
the derived class (thats same like as Ambiguous column name
find, while joining two tables having same field names)
Is This Answer Correct ? | 2 Yes | 3 No |
hey hari,i have faced the interview Question what are
interfaces?
I answer Vb.net doesn't supports multiple inheritance,but
it can be achieved in .net using interfaces. Interfaces are
silmilar to class,that contain methods.
but they do not provide any implementation for these
methods.
Then they asked WHY VB.NET DOESN't SUPPORTS MULTIPLE
INHERITANCE??
If u know Can u plz answer!!!!!!!!!
Is This Answer Correct ? | 1 Yes | 4 No |
Answer / hari
vb.net is not a object oriented. its a compiled language.
- the most dumbest answer. Please don't give wrong answers
when you are not sure. It will misguide the readers.
Is This Answer Correct ? | 3 Yes | 7 No |
What is the top .net class that everything is derived from?
What is break mode? What are the options to step through code?
How to Insert a TextBox value in to Sql database using VB.Net coding?
how to send data to exe file? my code has a button when i press it, an exe file will open. how can i send data as input to the exe file?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
What is the main purpose of garbage collector?
What are the different types of a stream?
What is the source code for display the picture in button click event?
Can you please explain the difference between dataset and datareader?
Explain strong name in .net assembly?
What is visual basic.net culture?
What are the two main parts of .net?