difference between vb and vb.net

N

N.K.Arun

sir

I want to know the exact difference between vb and vb.net.
ie why we call vb.net as fully oops language, and why vb
is not and in what aspect.

Thankingyou
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

- VB6 does not support inheritance, VB .NET does
- VB6 supports interfaces in an awkward way and mostly to support underlying
COM infrastructure, VB .NET fully supports interface-based programming
- VB6 does not support polymorphism, VB .NET does

This is of course not a complete list, just a few key differencies.
 
W

William Ryan

The basic premises of OOP are Inheritance, Polymorphism and Encapsulation.
Dmitry's post pretty much gets to the heart of it.

Since creating robust base classes and subclassing them is a the foundation
of re-use,and vb 6 didn't really support inheritance....

Do you have a specific area you are wondering about? This sounds an awful
lot like a question a professor gives sutdents so pardon my ambivalence on
elaborating.

Cheers,

Bill
 
P

Pete

Hi,

Arun said:
if possible send in detail.

If you really want to discover the differences in detail, I suggest you try
and rediscover the lost art of the internet search. Start with
www.google.com.

As a side note, I think I remember seeing something on msdn detailing the
differences.

-- Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top