In: Computer Science
Please type answer for i can copy it. Thank you very much.
-Question
Respond to the following in a minimum of 175 words:
Discuss the following:
Java is one in all the foremost fashionable and wide used
artificial language and platform. A platform is Associate in
Nursing atmosphere that helps to develop and run programs written
in any artificial language.
Java is quick, reliable and secure. From desktop to net
applications, scientific supercomputers to gambling consoles, cell
phones to the web, Java is employed in each nook and corner.
Here we have a tendency to ar scrutiny three different languages
(Python, C++ and Ruby) with Java.
PYTHON
Python may be a problem-oriented language. It totally supports
object-oriented programming. Java isn't a pure object-oriented
language.
Python is Associate in Nursing understood language whereas Java
isn't Associate in Nursing understood language, it's a compiled
language.
Python may be a scripting language whereas JAVA may be a low-level
implementation language.
Python easy} to use whereas JAVA isn't as simple as Python.
Programmers like better to use python rather than Java as a result
of python contains less line of code whereas Java is simply
opposite to that.
Python programs ar a lot of shorter than JAVA programs.
Python is wide employed in firms for building the comes as its
programs ar shorter whereas JAVA isn't employed in firms for comes
as a result of it's troublesome to use.
Python supports dynamic writing that is incredibly helpful for the
technologists as a result of they have to put in writing less code
due to that their time is saved and that is user friendly
additionally as programmer friendly. however within the case of
JAVA, developers ar needed to outline the kind of every variable
before exploitation it that consumes programmer’s numerous
time.
Many giant organizations like Google, Yahoo, NASA, etc. ar creating
use of Python. however Python programs ar typically expected to run
slower than Java programs.
Java has far better library support for a few of the utilization
cases than Python that may be a biggest advantage of JAVA.
C++
Java was primarily derived from C++.
C++ may be a each procedural additionally as object destined
artificial language whereas Java is pure object destined
language.
Both the languages have totally different objectives which suggests
it's several variations too.
Java support automatic garbage pickup whereas C++ doesn't.
The main objective of C++ is to style a system programming.
Java doesn’t support operator overloading however C++ do supports
it.
C++ additionally extends the C artificial language whereas Java is
essentially created to support the network computing.
Java willn’t support structures and unions wherever C++ does
support it.
Java is far slower than C++ in terms of execution.
C++ libraries ar easy and additionally they're strong. It
additionally provides instrumentality and associative arrays.
however Java contains a robust cross-platform library.
In Java there's Associate in Nursing automatic garbage pickup
whereas this is often not the case in C++. In C++ all objects ar
destroyed manually with the assistance of the code.
RUBY
Ruby and Java ar object-oriented languages and additionally they're
powerfully typewritten.
Java is statically typewritten whereas Ruby is dynamically
typewritten.
Both the languages have totally different methodology for capital
punishment the code. Java 1st converts the code into machine
language in order that it are often understood by it and since of
this Java code runs quicker than Ruby’s code.
Both Java and Ruby offer inheritance and that they each have
public, private, and guarded strategies.
The functions in Ruby takes less variety of code lines than the
Java due to that Ruby is most well-liked 1st by the developers and
programmers.