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 |
Can you please explain the difference between namespace and assembly?
How do you validate Date by using which validation Control?
Is vb net a scripting language?
Explain managed code?
Disadvantages of vb ?
12 Answers Digital GlobalSoft, TCS,
What is the difference between Namespace and Assembly?
What is shadowing?
Write a VB.Net console program to check whether a number is perfect or not.
if user enters 1 or 2 or any other number in digit format in next textbox it should show the answer in word reading like if enters 12 answer should be twelve
What is the difference between convert.tostring and .tostring() method?
i could not run my application in any computers if i want to run it i have to install the full version of visual studio 2005. it is really hard and feel embarrassing in front of the people though i installed .net framework where goes wrong
What is difference between Abstract Class and Interface?