Unlike other programming languages in which pointers overloading concepts are used, java has removed such features to overcome complexity.The automatic Garbage collection feature is available in Java to remove the unused/unreferenced objects that are not available in most programming languages.Java is an Object-Oriented Programming Language.So, everything is an Object and can be implemented based on the object model.OOP Language has few concepts that simplify software development and maintenance, such as Encapsulation, Abstraction, Polymorphism, Inheritance, etc., that can be implemented in Java.Java is platform-independent because it is compiled in different machines.It is a language that is written once and can be executed on any platform.When Java code is compiled, it is compiled in independent byte code and is interpreted by JVM (Java Virtual Machine), installed in any platform OS.Java is known for its security because it develops virus-free and runs inside a Virtual Machine.Java uses a byte code verifier that checks the code fragments for illegal code.Java checks what resources can be accessed by a class, i.e.Java is robust because of the following points:.Unlike other programming languages, it avoids using pointers for security reasons.Exception Handling and Type checking features are available in Java.It makes an effort to reduce error-prone situations by giving more attention to compile time and run time error checking.Java is portable because it allows you to execute the byte code to any of the platforms.Java’s implementation doesn’t depend on the platform and can be carried to any of the platforms, thus making it portable.Java uses the “JIT” (Just in Time) compiler to compile the byte code to native machine code when any of the Java methods is called, thus increasing the execution’s performance.Multithreading is one of the main features of java to deal with multiple tasks.A thread is a small tiny program written in Java to execute it concurrently.This feature of Java allows us to access files by calling the methods from any remote system on the internet.
0 Comments
Leave a Reply. |