1. What is Java?
Java is a platform-independent high-level programming language developed by Sun Microsystems. It is used for developing a wide variety of applications. It consists of advanced and simplified features and is free to access. It can execute multiple functions at the same time and is developed on the logic of "Write once, Run anywhere."
2. What are the features of Java?
Java is a highly effective programming language that has created an ocean of opportunities. Some of the most brilliant features of it are:
Simplicity: Java is more preferred than other programming language, including C++ because it removed all the complexities like pointers, and operator overloading.
Portable: Being platform-independent, Java has made easy to port any application from one platform to another.
Object-oriented: Java considers everything as an object where it stores different properties, behavior, and features of different categories. These objects are used to perform entire operations.
Secured: Java compiles and converts all the code into bytecode, which is understood only computers that run it. By removing explicit pointer and running programs inside the sandbox, Java has made tampering with applications from untrusted sources impossible. With Java, developers can develop applications free of virus and robust systems/applications.
Dynamic: Java has enabled the reduction of memory wastage and enhancing the performance of the application with its ability to adapt to an evolving environment and support dynamic memory allocation.
Multithreaded: Java makes programming with threads easier by supporting lightweight processes or multiple threads execution.
全部评论
(1) 回帖