O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Versus C#

You might say that Java is a better language. You might want to train your key programming staff on just one language, and you want it to be the “best” language. If you present it like that, you are in for a religious battle. Programmers and software engineers tend to hold the key tool of their trade, the language, near and dear. Now is a good time to compare several features, showing how they are implemented using Java and a representative language from .NET, C#.

User-Defined Types

Java has two types: primitive types and classes. Primitive types are built into the language. They are types like Boolean, integers, floating-point numbers, and characters. Classes in Java are built and ultimately consist of primitive types. .NET and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required