Difference Between Java vs C#
JAVA
1) Java is a high level, robust, secured and object-oriented programming language developed by Oracle.
2) Java programming language is designed to be run on a Java platform, by the help of Java Runtime Environment (JRE).
3) Java type safety is safe.
4) In java, built-in data types that are passed by value are called primitive types.
5) Arrays in Java are direct specialization of Object.
6) Java does not support conditional compilation.
7) Java doesn't support goto statement.
8) Java doesn't support multiple inheritance through class. It can be achieved by interfaces in java
9) Java doesn't support structures and unions.
10) Java supports checked exception and unchecked exception.
2) Java programming language is designed to be run on a Java platform, by the help of Java Runtime Environment (JRE).
3) Java type safety is safe.
4) In java, built-in data types that are passed by value are called primitive types.
5) Arrays in Java are direct specialization of Object.
6) Java does not support conditional compilation.
7) Java doesn't support goto statement.
8) Java doesn't support multiple inheritance through class. It can be achieved by interfaces in java
9) Java doesn't support structures and unions.
10) Java supports checked exception and unchecked exception.
C#
1)C# is an object-oriented programming language developed by Microsoft that runs on .Net Framework.
2)C# programming language is designed to be run on the Common Language Runtime (CLR).
3)C# type safety is unsafe.
4)In C#, built-in data types that are passed by value are called simple types.
5)Arrays in C# are specialization of System.
6)C# supports conditional compilation using preprocessor directives.
7)C# supports goto statement.
8)C# supports multiple inheritance using class.
8)C# supports multiple inheritance using class.
9)C# supports structures and unions.
10)C# supports unchecked exception.
Post a Comment