Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Overriding
Message
De
09/05/2007 13:41:36
 
 
À
09/05/2007 11:04:27
Takashi Koyama
National Indemnity Company
Omaha, Nebraska, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Divers
Thread ID:
01223779
Message ID:
01223899
Vues:
13
Java code and C# are 75% identical. Vb.net is far more verbose. Many from the Java camp have left to become C# programmers. A friend is in a C# class now and the Java guys in the class are very happy with what they see.

But this particular question doesn't make any sense. For example in Java there are "Final" and "Abstract" classes. It makes perfect sense that in an OO language you would want to specify when classes can and should be overridden.

>Hello,
>I'm curious why VB.NET uses the Overrides, Overridable, NotOverridable, and MustOverride keywords to specify how methods and properties might or might not be overridden.
>
>In Java, it is not necessary to use those keywords to override a class.
>To me, Java way is simpler and clear to read codes.
>So Overrides, Overridable, NotOverridable, and MustOverride keywords are unnecessary in my mind.
>
>Any thoughts?

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform