Question:
c# or java which one better and easier ?
super hoho
2008-09-04 10:04:21 UTC
hi all
which one is better c sharp or java ?and why
thanks a lot :)
Six answers:
rbtLong
2008-09-04 10:49:29 UTC
Hello,



It depends on your implementation, what do you plan on doing in the future?



The two languages are very much alike. C# and Java have almost synonymous syntaxes, so basically if you learn C#, you will know Java right off the bat. The only thing you will have to know is their API's (C# uses DotNet and Java uses java API). Of course, there also exists J# is java that also uses DotNet.



The two languages have their own purpose (as most languages do). Java was created back in 1995, by MicroSun. It's primary purpose was portability, and syntax simplicity derived from C++. In java, when a code is written it is compiled and run through a layer called Java Virtual Machine (JVM), so it is compatible across all systems alike without worrying about cross platform compatibility. It is so portable that you can even port it to web pages, and even mobile devices. However, with flash's advent, there are less of seen on the web. Developers also use java to do server-side programming as well.



C# is a language that is highly based on the syntax of Java and was created by Microsoft. C# takes syntaxes from java as well as C++. The C# community to date is enormous. However, C# is entirely based on DotNet, so when you learn C#, you have to how to use DotNet libraries as well. Other languages such as Visual C++, Basic, and Java use DotNet libraries alike. The DotNet libraries are becoming incredibly powerful, as is the Visual Studio IDE suite. DotNet has been extended to support mobile devices as well. C#'s primary use right now is largely for web development.



So, it depends primarily on what you want to do. In my opinion, both languages are so similiar that l woudn't even worry about deciding between them because you will eventually know both depending on how fast you learn your first language.



I'd say, learn C#, the IDE is incredibly user friendly and incredibly intelligent. C# is a very well documented language, each function has a little description that concisely details about what it does. Aside from all this, MSDN.net is basically dotnet's manual, it will document about every method that exists in DotNet. And if you want even more support, there is an enormous C# community all over the internet.
Robert A
2008-09-04 10:20:00 UTC
I havnt really had much experience with either of them but i think that Java is better and easier as alot of things are coded using java these days. Java is everywhere.
Naughty_Ottsel
2008-09-04 10:26:21 UTC
I do not know the full extent of C# but from what I have heard it is a mixture of C/C++ and Java, so I would say look into Java then you have a grounding in C#
Constantine Soulion
2008-09-04 10:38:19 UTC
Main difference is the feel of the whole environment not specifically about technical features. I get the idea that C# (.NET) behaves better, simply because is built under more sophisticated architecture and design.



There some things I love about C# and are not available to Java:



- Compilation to executable files (.exe) (double click and GO in relation to java that there's no OS Shell integration for .jar files).



- Easier third party-library usage, you simply select a .dll file from your IDE and you are ready to go. (where in java you will have to supply a manual package inclution + manual command typing)



- .NET makes you feels more confortable using operating system resources (Services, Diagnostics, unsafe code).



In other words, simply my personal opinion Java is better if you plan to write serious business software (for airports, banks, telecommunication companies) but not quite handy for casual software because it "chains" you to strictly use the Java platform.
ranson
2016-10-02 06:32:31 UTC
Java is way less stressful to study. Or quite, positioned it this way: C++ is way less stressful to study, yet Java is way less stressful to apply. See, quite a few the time you prefer the habit that the 'bunch of greater beneficial words' in Java furnish, and in C++ you could desire to rebuild all that from scratch. gaining understanding of the innovations of C++ could be much less stressful, yet construction some thing smart out of them is unquestionably greater sturdy.
imshami
2008-09-04 10:32:01 UTC
first of all no language is so easy c# or java

second, it depends on your " level of understanding"

generally c# is easy in providing lot of components and componatisation & wast help features by Microsoft as compare to

java . But java don't use pointers and c# use, so from the point of

programming understading and its implification java is more understadable than c# . But both have thier own benefits.

for more clear undrstaing visite some site / Articles , read & Understand on c# and on java also search for c# versus java

on any search engine like yahoo search.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...