answersLogoWhite

0


Best Answer

Differences between .Net and Java include

  • Java is from Sun, .Net is from Microsoft
  • Java is a language plus a runtime, .Net is a runtime framework that supports multiple languages, Visual Basic and C# (the .Net language most similar to Java) among them.
  • C# is very similar to Java but a few years younger, and a bit nicer in some respects - it has a slightly simpler syntax for some common constructs.
  • Java is more platform independent, it runs on several operating systems including Windows, Mac and Linux. .Net is primarily for Windows. Although the open source project Mono is developing a multi-platform runtime for .Net, so this is less of an issue than it used to be.
  • .Net has a more integrated development environment, as the IDE, runtime and server all come from Microsoft as a standard package, while Java is based on third-party tool and server providers. It used to be the case that the .Net development environment was clearly superior, but the difference is smaller these days.
  • It can be argued that Java gives more flexibility, as there are more server- and IDE-providers to choose from, at the cost of some extra overhead for the developer to get the different pieces to work together.

Functionality wise, there is not a lot of difference between the two, at least not when used to develop web applications.

For desktop applications, .Net naturally has an edge in Windows integration.

note: Oracle bought Sun Microsystems (Sun).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

16y ago

C is a programming language. You can create applications using C on many platforms by finding the right compiler (ex: gcc on Linux/Unix or Visual Studio in Windows). C generates unmanaged code. This means that the code is compiled into native machine code and that the programmer is responsible for all memory allocation/deallocation, security checking, etc. C is a very powerful language, but programmers must understand the many nuiances of the language to write bug-free, efficient code. .NET is a framework (essentially a wrapper around the operating system) and provides features that make programming easier. There are dozens of languages that can be used to build .NET applications. Many are provided by Microsoft (C#, VB.NET, J#, C++ with managed extensions), but there are many others as well (Perl.NET, Delphi.NET, COBOL.NET, etc).

When a .NET program is compiled, it generates managed code. This means the code is compiled into an intermediate language (CIL) and then translated to machine code (just-in-time compiled or JITed) before execution. The .NET runtime makes coding easier because it handles garbage collection, certain security issues, etc. Although the .NET framework is generally found on computers running Windows 2000, XP, 2003 and Vista, there are open source versions (Mono and DotGnu) available for Linux/Unix .

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

VB.Net identifiers are not case sensitive, C# identifiers are.

VB.Net variable declarations have the data type after the variable, C# variable declarations have the data type precede the variable.

VB.Net data types are written slightly differently; e.g. Boolean, which in C# would be written as Bool.

VB.Net statements are terminated by an end of line, whereas in C# they are terminated by a semicolon.

VB.Net statement blocks (e.g If... Then) automatically assume multiple line statements, whereas in C# the same statement block assumes a single line statement unless { } is used.

VB.Net uses parenthesis () to delimit array elements, function arguments and property indexes, whereas C# uses parenthesis to delimit function arguments only, and braces [] to delimit array elements and property indexes.

VB.Net has a specific integer division operator ( \ ), C# does not.

VB.Net has an exponentiation operator ( ^ ), C# does not.

C# has a variety of assignment operators such as Left Shift (<<=) and XOR (^=), VB.Net does not.

VB.Net has different syntax for operators in some cases, such as not equal, which in VB.Net is written as <> and in C# as !=.

VB.Net supports unstructured error handling (Note: For backward compatibility only, it is not good practise), such as OnError GoTo, whereas C# does not.

VB.Net supports optional parameters, C# does not.

VB.Net supports implicit late binding through reflection, although you can do this in C# it is much easier in VB.

In C# you can write unmanaged code (There must be a reason for this functionality somewhere), in VB you cannot.

VB.net uses different keywords than C#, such as 'NotInheritable' in VB.Net becomes 'sealed' in C#.

Vb.Net does not support operator overloading while C# supports it.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

VB.NET is just Visual Basic implemented onto Microsoft's .NET Framework, both being Microsoft languages. While Visual Basic is part of Visual Studio, VB.NET is also part of the Visual Studio.NET release. Development of Visual Basic stopped at version 6, and VB.NET simultaneously was born at version 7.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Java is a Sun Microsystems family of programming languages

.Net is a Microsoft family of programming languages including their line of "Visual" products such as "Visual Basic"

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

The applications of C, C++ runs on DOS and the applications of .NET runs on GUI (Graphics User Interface) however, you can also prepare applications which runs on DOS using .NET.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

C++ is a language. .NET is an environment. They are not really comparable.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between Visual Basic and Visual Basic.NET?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between visual foxpro and visual basic?

By Spelling XD


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.


What is the difference between matlab n visual basic?

no thing


What is the difference between visual studio and visual basic?

I believe visual studio is the user interface, and it not only supports visual basic but also visual c++, c#, web development etc. Visual basic, on the other hand, is a programming language.


What is the difference between Csharp and vb?

C# its Very Sharp VB-Visual Basic Extension for BASIC C# its Very Sharp VB-Visual Basic Extension for BASIC


Difference in dos and visual basic?

DOS is an OS and Visual Basic is an Application Software..


What is the difference between projects and form in Visual Basic 6?

a project in visual basic is a collection of different objects like forms. it is saved with an extension of .vbp. A form in visual basic displays various controls that provide the user interface. it is saved with an extension of .frm.


What is difference between vb5 vb6?

VB6 is a more recent and more advanced version of visual basic.


What is the diff between Visual Basic 2005 and Visual Basic dot net?

Visual Basic 2005 is actually a version of VB.NET (v8.0). The latest version (9.0) is Visual Basic 2008.


What are the Similarities between basic and visual basic?

"Basic" isn&acute;t anything!!


What is the difference between seek and append command in visual basic?

Seek will simply move to a certain position. Append will add to the very end.


What is difference java and visual basic programming?

java is a server side programing where as visual basic is a client side programing(This programing Language is different from oops)