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 are the differences between vb.net and c#, related to oops concepts
What is the differnce between managed code and unmanaged code?
Explain the observations between vb.net and vc#.net?
What is friend and protected-friend access specifier in vb.net?
What is difference between metadata and manifest?
What is the exact defination of object?
Explain the use of new keyword?
Which properties are used to bind a DataGridView control?
Explain the advantages of migrating to vb.net?
what is delegates
Advantage of vb.net over vb ?
Explain convert.tostrin?