Course Hero Logo

O object oriented java follows the object oriented

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 3 - 5 out of 53 pages.

oObject-Oriented:Java follows the object-oriented paradigm which allows us tomaintain our code as the combination of different type of objects that incorporatesboth data and behavior.oPortable:Java supports read-once-write-anywhere approach. We can execute theJava program on every machine. Java program (.java) is converted to bytecode(.class) which can be easily run on every machine.oPlatform Independent:Java is a platform independent programming language. Itis different from other programming languages like C and C++ which needs aplatform to be executed. Java comes with its platform on which its code isexecuted. Java doesn't depend upon the operating system to be executed.oSecured:Java is secured because it doesn't use explicit pointers. Java also providesthe concept of ByteCode and Exception handling which makes it more secured.oRobust:Java is a strong programming language as it uses strong memorymanagement. The concepts like Automatic garbage collection, Exception handling,etc. make it more robust.oArchitecture Neutral:Java is architectural neutral as it is not dependent on thearchitecture. In C, the size of data types may vary according to the architecture (32bit or 64 bit) which doesn't exist in Java.
oInterpreted:Java uses the Just-in-time (JIT) interpreter along with the compiler forthe program execution.oHigh Performance:Java is faster than other traditional interpreted programminglanguages because Java bytecode is "close" to native code. It is still a little bit slowerthan a compiled language (e.g., C++).oMultithreaded:We can write Java programs that deal with many tasks at once bydefining multiple threads. The main advantage of multi-threading is that it doesn'toccupy memory for each thread. It shares a common memory area. Threads areimportant for multi-media, Web applications, etc.oDistributed:Java is distributed because it facilitates users to create distributedapplications in Java. RMI and EJB are used for creating distributed applications. Thisfeature of Java makes us able to access files by calling the methods from anymachine on the internet.oDynamic:Java is a dynamic language. It supports dynamic loading of classes. Itmeans classes are loaded on demand. It also supports functions from its nativelanguages, i.e., C and C++.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 53 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture