you tell us. It's your homework, not ours.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Java is both - a Framework and a Language. As a Language, it has all the features of a programming language. As a framework it laids down the requirements which must be met by all the vendors developing Java/JVM.
Moreover, now Java is open source whereas, dotnet is propritarty of M$.
Java does not allow running native code but makes JNI calls for the same. .net allow you to write C++ (pointer intutive) code apart from managed C++ code and vulnerable to security.
You said .net is user friendly and easy to learn
Are you taking about Visual Studio. If yes there are IDEs for Java free of cost and musch more intelligent than Visual Studio if it comes to coding not drag and drop features.
Moreover, if I refer to C# here, its difficult to find when to use properties and when to call methods. I tried Connecting to a db once and got bugged up. Java provides you a simple model with accessors (getters/setters) for almost every properties defined in a class and you can simply use it without getting into hassles of when to use properties and when to use methods.
Try writing a C# program in Linux environment where there are not much good IDEs and you might feel the pain.
I've seen experienced C# programmers working with me who are always confused whether to use property or method. It is where the Visual$tudio intellisense comes into play to ease some of their tasks. Because there they keep looking whether there is a property or a method to fulfill their requirement.
lookof2day
Junior Poster in Training
83 posts since Aug 2007
Reputation Points: 16
Solved Threads: 11
I've not yet heard any reason why "java is different" from anything else, or why that would matter.
Hardly surprising, as most arguments come from people who have no clue yet have strong opinions based on personal preference or irrate hatred of Microsoft (caused in itself by jealousy above all else).
In other words, another pointless discussion about this topic (which is in itself pointless) like there have been so many in the past.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
I've not yet heard any reason why "java is different" from anything else, or why that would matter.
Hardly surprising, as most arguments come from people who have no clue yet have strong opinions based on personal preference or irrate hatred of Microsoft (caused in itself by jealousy above all else).
In other words, another pointless discussion about this topic (which is in itself pointless) like there have been so many in the past.
Agreed.
Just let dead horses lie.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
> pure object oriented
Java is not a true OO language. If you are looking for pure OO, look into Smalltalk and Ruby in which everything is a class and all operations are messages to objects. Read this.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734