o Better Cousin of C, C++
Java is modeled after C and C++, and much of the syntax and object-oriented structure is borrowed from the latter. If
you are familiar with C++, learning Java will be particularly easy for you, because you have most of the foundation already. Although Java looks similar to C and C++, most of the more complex parts of those languages have been
excluded from Java, making the language simpler without sacrificing much of its power. There are no pointers in Java, nor is there pointer arithmetic. Strings and arrays are real objects in Java. Memory management is automatic. To an
experienced programmer, these omissions may be difficult to get used to, but to beginners or programmers who have worked in other languages; they make the Java language far easier to learn.
attention@computerscienceexpertise.como Applets and Applications
The most common types of programs written in the Java programming language are applets and applications. If you've surfed the Web, you're probably already familiar with applets. An
applet is a program that adheres to certain conventions that allow it to run within a Java-enabled browser.
o An application is a standalone program that runs directly on the Java platform. A special kind of application known as a server
serves and supports clients on a network. Examples of servers are Web servers, proxy servers, mail servers, and print servers.
Another specialized program is a servlet. A servlet can almost be
thought of as an applet that runs on the server side. Java Servlets are a popular choice for building interactive web applications,
replacing the use of CGI scripts. Servlets are similar to applets in that they are runtime extensions of applications. Instead of
working in browsers, though, servlets run within Java Web servers, configuring or tailoring the server.
attention@computerscienceexpertise.com