Plattform Idea
Plattform Idea
Platform
independence means programmers who developed their software in one platform can execute
it on any platform or operating system regardless of underlying configuration, because of
Java Virtual Machine. In other words, we can say that Java follows the WORA rule which
says Write Once Run Anywhere. Besides that Java provides security over eavesdropping,
tampering, impersonation, and virus threat. Java also provides a multi-threading feature
through which we can create multiple threads under any process which works independently
and simultaneously.
Other than these, the performance of Java is also impressive. It uses JIT(Just In Time
Compiler) that is capable of compiling only that method which is being called and not the
whole program. This saves a lot of time and makes overall development efficient. Due to its
high performance, Java has a wide variety of applications. Java is one of the oldest
programming languages used for the development of android applications. It is also used for
scientific and web applications. These all made Java so popular.
2. Object-Oriented Programming
Almost everything written in Java is object and class, making it a true object-oriented
programming (OOP) language. The basic concept of OOP is:
3. Platform Independence
Unlike other languages, Java is not limited to any specific machine and dependent on other
factors to run. The Java platform is independent because:
5. Security
Java programming language is known for its security. With it, you can create virus-free
systems because:
6. Rich API
Being one of the oldest programming languages, Java has a rich API. Some popular Java
APIs are:
7. Multithreading
Multithreading is an essential feature of Java that makes Java programming exclusive. It
offers several benefits:
8. High Performance
Java is a programming language with a high-performance rate. It is because:
• Java uses bytecode that can be easily translated into native machine code.
• It has multiple easy-to-use frameworks.
• It is compatible with multiple platforms, including Windows, Linux, Sun Solaris,
and Mac/OS.
• It is a write-once, run-anywhere language.
• Java also automatically clears the garbage to enhance its performance.
9. Scalability
Java offers its users scalability, which means it can deal with more and more users and
works. It is so because:
Answer: Since Java is distributed and system independent, it can be used anywhere like:
1. Web Development
2. Software Development
3. Mobile Application Development
4. Distributed Applications
5. Web servers
6. Enterprise Application
Advantages of Java
1. Allows reusability of code - Java is a general-purpose programming
language that enables coders to write the program once and run it on the
same platform or anywhere else, thus allowing them to create reusable
code.
2. WORA (Write once run anywhere) - Java does not rely on one particular
platform to run the codes. The "byte code" or compiled code of Java
enjoys platform independence, meaning the code can be written once and
run anywhere else, regardless of the operating system, provided it supports
Java virtual machine.
8. Stability - Any new version of Java can be quickly and easily released and
used. This is a huge advantage and makes this language stable and reliable.
2. No backup facility - Java is known for excellent code and data storage
but does not back it up for later use by Java developers. Therefore, many
coders abstain from using this language in the long run.
3. GUI looks are boring - Java has some popular builders and frameworks
like Swing toolkit and JavaFX for an attractive-looking GUI, but those
are not very useful when building complex and rich interfaces.
Therefore, programming via a language that does not provide an interface as
attractive as others can get monotonous and unworthy.
4. Complex codes - To make the program manageable, there are many long
and complex sentences and complicated words in the syntax of Java that
make the code difficult to read and memorize. In other words, Java code can
be verbose, requiring more lines of code to accomplish tasks compared to
some other programming languages.