Selasa, 30 Agustus 2022

 A variety of systems, including mobile phones, can execute the programming language Java. James Gosling initially developed the language when he was still working at Sun Microsystems, which is now a division of Oracle, and it was launched in 1995. With a more straightforward object model syntax and less lower-level routine support, the language adopts a large portion of the syntax present in C and C++. Java-based programs can be run on a variety of Java Virtual Machines and are often compiled into p-code (bytecode) (JVMs). The most extensively used programming language is Java, which is frequently utilized in the creation of many kinds of software applications or web-based applications.



first iterations

Java Version 1.0 was the moniker given to the first version of Java, which was released in 1996. Many original standard packages that continue to be developed in later versions of Java are included in this version:


Class identification for fundamental elements in Java.

Input and output class designation in Java, including the use of files.

Data structure classes and date class classes are designated within the Java.util package.

Java.net is the abbreviation for the TCP/IP class, which enables TCP/IP network communication with other computers.

Java.awt: Base class for user interface with applications (GUI)

The basic class of the application interface to be used with the web browser is called java.applet.

Excess

  1. Multiplatform. The main benefit of Java is that it adheres to the "write once, run anywhere" principle and can be used on a variety of platforms and computer operating systems. This benefit allows programmers to create a Java program, compile it (changing it from a human-understandable language to a machine language or bytecode), and then run the result on various platforms without making any changes. Because of this benefit, java-based programs can run smoothly on Microsoft Windows and Linux operating systems. Sun Solaris, Microsoft Windows, Linux, and Mac OS are the platforms that are currently supported. The reason is that each operating system interprets the bytecode using a different application that can be downloaded from a Java website.
  2. OOP (Object Oriented Programming – Object Oriented Programmer) Complete Classroom Library: Java is well-known for its complete library, which is a group of programs that are part of the Java programming language and are used to construct applications. The completeness of this library paired with the availability of a big Java community that regularly generates new libraries to satisfy all application development demands.
  3. Because of its similar syntax to the C++ programming language, Java has drawn many C++ programmers. There are a lot of people using Java these days, and most of them are C++ programmers who are switching to Java. Because Java is simpler for students to learn and can be helpful for individuals who are not majoring in computers, universities in the United States have started teaching it to new students. In contrast to the widely used C++ language, which requires programmers to manually define memory settings, automatic garbage collection offers a memory consumption setting facility

Deficiency

Write it once and use it anywhere. There are still a few things that differ from one platform to another. For J2SE, take the SWT-AWT bridge, which up until this point was incompatible with Mac OS X.
simple to decompile The process of going backwards from final code to source code is known as decompilation. Due to the fact that Java's finished code is bytecode, which contains many high-level language features like class names, methods, and data types, this is conceivable. The Microsoft.NET Platform is the same way. As a result, the program's algorithm will be harder to conceal and simpler to hijack or reverse-engineer.
excessive memory use Programs based on Java consume a lot more memory than programs based on high-level languages from earlier generations, such C/C++ and Pascal (more specifically, Delphi and Object Pascal). This is typically not an issue for individuals who use the most recent technology (because installed RAM is on the decline), but it is for those who still have to contend with computers that are more than four years old.

Tidak ada komentar:

Posting Komentar