Thursday, February 18, 2010

Comparison between Java and C-SHARP - Guide for developers

The article will explain the basic comparison between Java and C-SHARP. As known to the developers who are little familiar with programming language family, Java is one of the most powerful software application development platform whereas C-SHARP works normally as a part of .net framework library. .net is one of the user friendly programming languages which allow .net developers to work with development ease.

Both Java and C-Sharp belongs to object oriented programming language. Both emphasize on object rather than function. Both of them support garbage collection so that developers don’t need to free the memory occupied once the scope of program ends.

C-SHARP supports Deterministic disposal while Java doesn’t support such functionality. More over Java doesn’t support Object pinning (fixed to address throughout lifetime) whereas C-Sharp supports such functionality. Soft references are extensively supported by Java where C-SHARP doesn’t support it.

C-SHARP allows pointer functionality which allows unsafe code to be included within the coding and on the different side Java doesn’t support pointer or pointer arithmetic logic which makes it safer.

If we discuss about data types then, fixed-length strings are not there with Java but it is there in C-Sharp. Enumerations in Java are facilitating by objects, where C-Sharp provides conventional enumeration to the developers with expanded functionalities. Operator overloading is there with C-Sharp derived from C++ functionality where there is no such thing in Java.

Conditional compilation is there with C-Sharp while Java supports a uniform compilation procedure only.

Java Developers

1 comments:

  1. Nice article, I was looking for these kind of information on software development.
    Please continue writing...

    Regards:Offshore software development company

    ReplyDelete