This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
every technology has its own tradeoff.. yes java is slower compared to C and C++ because the developers of JAVA were more concerned about platform independence then speed which made the language a bit slow compared to C but then it does offer you features C and C++ does not ... so its a personal judgement wether to consider speed as Java's drawback or to take it just as a tradeoff because it offers other features
The significant problems we face cannot be solved by the same level of thinking which created them – Einstein SCJP 1.5, SCWCD, SCBCD in the making
Java is not really slower than C or C++ anymore. That was a common criticism years ago, but currently Sun's Java VM is so well-optimized (especially the Hotspot just-in-time compiler and the garbage collection algorithms) that it is not really true anymore.
It is hard to speak about "the drawbacks of Java" in a very general sense. Whether Java is a good tool or not depends on the job that you need to do.
For example for low-level system programming, Java is probably not the best tool for the job - because Java was designed to be platform-independent, it can be difficult to do platform-specific things with it.
It's a little bit like asking "What's the drawback of apple pie?"
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by seetharam venkatasamy: HI All,
Yes java is bit slower than C/C++. To have a platform independent we have to pay the time.There will be no much differenc in time.
Collections classes does not have unique method name to add/remove/manupulate the objects. To run the java developed program all the client should have jvm in the machine.java applets are browser dependent.java.net package have great disadvantge that is being replaced by R.M.I . if you come to know many more list it and send to my private mail anyone can explain me that ------------------------------- what is the drawback of java? -----------------------------------
from my knowledge it is bit slower than c and c++ right? but why?
is there any other drawback?
please any one can explain me..waiting for your earnest reply..