Friday, May 21, 2010

What are some of the things that have made the Java Program so popular?

Java has become an important programming language in a very short time. What are some of the things that have made it so popular? (the answer should include, but not be limited to, a discussion of Java's role on the Internet.)

What are some of the things that have made the Java Program so popular?
People ( especially me ) love programming in java because





1. Portability: you write program just one time but can run it in any platform or machine that has java virtual machine with same look and feel( this is what makes java hot)





2. Database Connectivity: just write a program in java that connect to database. u yourself will acknowledge this fact.





3. Networking: unlike scripting language, java uses an OOP method of networking using servelet and socket that makes networking in java easy.





4. Application Development: developing frames, forms, buttons, etc in java is most easy. Unlike VB, java dont hide the actual implimentation from developer.





5. scope: java always develops libraries that meet the needs of modern world and always walk with the technology so you readily get any function you want while programming in java.
Reply:Perfekt answer of NK.





In addition:





C / C++ had the problems of memory, that if a programmer did not free allocated memory and releases the pointer to it, the memory remains occupied and the memory heap gots fuller and fuller.





With Java Sun has introduced the garbage collector, which frees unused memory during runtime and prevents from getting memory overflows due to unused memory blocks.





Cheers


M.
Reply:JAVA's really popular and for good reason too.


1. WORA: Write Once Run Anywhere programs cause JAVA converts all its programs into JAVA byte-code which is platform-independent i.e. it remains the same on all platforms which eliminates the need of a special interpreter for each platform.


2. Light Weight Code: This means that even large programs can be written with a light code, no heavy coding is needed.


3. Based on OOPs principles: This makes it rally user-friendly and easy to use. It may seem tough to learn in the beginning but becomes pretty easy once you get the hang of it.


4. The introduction of BlueJ has made it even more easy.


5. Security features and built-in graphics.


6. Java applets are very popular these days on the internet cause they are embedded in web-pages and require only low hard-disk resources of the host.


No comments:

Post a Comment