Beruflich Dokumente
Kultur Dokumente
1
prefer at the beginning not to explain every detail that you will see in the
examples. Instead, we will borrow some existing code, modify it by focusing on
smaller pieces and only later go back to consider the big picture. This is likely
the same way in which most people learn TEX.
2
Called inheritance, this property of OOP forces a more thorough data
analysis, reduces development time, and ensures more accurate coding.
Since a class defines only the data it needs to be concerned with, when an
instance of that class (an object) is run, the code will not be able to
accidentally access other program data. This characteristic of data
hiding provides greater system security and avoids unintended data
corruption.
The definition of a class is reuseable not only by the program for which it is
initially created but also by other object-oriented programs (and, for this
reason, can be more easily distributed for use in networks).
The concept of data classes allows a programmer to create any new data type
that is not already defined in the language itself.
3
James Gosling
James Gosling has a great deal of his life invested in Java. He is considered the
father of the programming language, which was launched by Sun in 1995 and
runs on billions of digital devices, and is currently at the center of a contentious
legal battle between Oracle and Google.Up until Saturday night -- when he
wrote that "Google totally slimed Sun" -- the proud father of Java had been
fairly moderate in his comments about how Google treated his baby.When the
lawsuit, claiming that Google had infringed on Java copyrights and patents in its
Android platform, was announced by Oracle back on August 10, 2010,
Gosling suggested on his personal blog that Java's new owner might be inclined
to take a different approach to dealing with Google and Android than was the
case at Sun Microsystems: A few days later, on August 15, 2010, Gosling
wrote a longer post, citing "very weak notions of interoperability" with Android
that Sun "strongly objected to." He concluded his post by calling the lawsuit
"more about ego, money and power."
Gosling left Oracle with some acrimony in April 2010, less than three months
after the enterprise software giant closed its deal to acquire Sun for $7.4 billion.
In announcing his departure, Gosling wrote, "Just about anything I could say
that would be accurate and honest would do more harm than good."
4
History of Java
Over time new enhanced versions of Java have been released. The current version
of Java is Java 1.8 which is also known as Java 8.
5
Object-orientated programming language: Except the primitive data types, all
elements in Java are objects.
Interpreted and compiled language: Java source code is transferred into the
bytecode format which does not depend on the target platform. These
bytecode instructions will be interpreted by the Java Virtual machine (JVM).
The JVM contains a so called Hotspot-Compiler which translates performance
critical bytecode instructions into native code instructions.
• A Java Platform is the set of APIs, class libraries, and other programs used
in developing Java programs for specific applications.
6
• Core Java Platform targeting applications running on workstations .
System.out.println("Hello World!");
7
Conclusion
Java has significant advantages not only as a commercial language but also as a
teaching language. It allows students to learn object-oriented programming
without exposing them to the complexity of C++. It provides the kind of
rigorous compile-time error checking typically associated with Pascal. It allows
instructors to introduce students to GUI programming, networking, threads, and
other important concepts used in modern-day software.
Java might well be a language that most computer science departments could
agree to use as an introductory language. If so, we'll all benefit from once again
having a single dominant language in CS1.
8
Literature
https://www.quora.com/ [JAN.2017]
http://www.webopedia.com/
http://www.vogella.com/JavaIntroduction/
https://www.scribd.com/