Comparing and Contrasting Java With C. Net Term Paper

Total Length: 737 words ( 2 double-spaced pages)

Total Sources: 1+

Page 1 of 2

C# and Java have more similarities than differences, Java programmers my shun C# is situations where they require high-quality program design, cross-platform portability and runtime extensibility for remote applications. Developers that require a more expressive language than Java are likely to appreciate Microsoft's many expressive features such as metadata availability, event handling, and property access.

The most serious deficiency of C# is the lack of exception handling, meaning that the compiler will not notify the programmer if an exception occurs. Java, on the other hand, allows exception checking and the compiler will generate a compile-time error if the programmer hasn't specified how to handle the exception. The lack of checked exceptions in C# may lead to program designs which are flawed. C# developers must tale extra care to document all exceptions that callers should be aware of.

Java applications are portable across a number of operating systems and platforms. Sun supports Linux, Windows and Solaris and other vendors have implemented Java on a range of platforms such as OS/2, AIX and MacOS. Similar Java versions provide binary compatibility across platforms. In contrast, C# cross platform depends on the OSS community to write cross platform libraries for C#. Here, Microsoft is focusing on cross-language development rather than cross-platform development for its.NET strategy and provides unmatched native support for its own operating system.

Stuck Writing Your "Comparing and Contrasting Java With C. Net" Term Paper?



Dynamic class loading allows Java applications to download the class files of classes that do not exist on the target machine. Thus, an object type that only exists on one machine can be transferred to other machines in a seamless and transparent manner. This means that new types can be introduced on a remote machine which allows the behavior of remote applications to be extended at runtime.

Custom attributes provide a way to add metadata to a module, class, method, parameter or member variable. Attributes provide a powerful way to extend the capabilities of C# and.NET by using them to request the runtime to perform additional task, provide information about an item or extend the abilities of a type. It is possible to access the attributes of a module, class, method or field via reflection. This is useful to determine if a class supports certain….....

Show More ⇣


     Open the full completed essay and source list


OR

     Order a one-of-a-kind custom essay on this topic


sample essay writing service

Cite This Resource:

Latest APA Format (6th edition)

Copy Reference
"Comparing And Contrasting Java With C Net" (2003, February 19) Retrieved June 5, 2026, from
https://www.aceyourpaper.com/essays/comparing-contrasting-java-c-net-144429

Latest MLA Format (8th edition)

Copy Reference
"Comparing And Contrasting Java With C Net" 19 February 2003. Web.5 June. 2026. <
https://www.aceyourpaper.com/essays/comparing-contrasting-java-c-net-144429>

Latest Chicago Format (16th edition)

Copy Reference
"Comparing And Contrasting Java With C Net", 19 February 2003, Accessed.5 June. 2026,
https://www.aceyourpaper.com/essays/comparing-contrasting-java-c-net-144429