Java Vs. C++ Essay

1135 words - 5 pages

Java Vs. C++Today, the majority of families own a home computer that is vastly more powerful than giant mainframes of years gone by. Computer hardware has been evolving rapidly with no end in sight, and with all of the advancements in computer hardware come advancements in computer software; gone are the days when FORTRAN and COBOL were the languages of choice. Today, vvv two hot new object oriented programming languages have entered the computer programming arena, Java and C++, this paper will examine the similarities and differences between these new languages.Both Java and C++ are object oriented programming languages, but what does that mean? Object oriented programming (OOP) emphasizes data, instead of algorithms for solving problems. Instead of trying to fit a problem to the procedural approach of a language, OOP attempts to fit the language to the problem, in other words, OOP is structured to produce an answer without changing the question. Object oriented programming involves two separate parts, class and objects. Class is a specification that describes a new data form, it is a template that defines how an object will look and behave.(Kaj 1996, 8) An object is that particular data structure constructed using the parameters defined by class. (Prata 1995, 5).The object oriented programming approach to program design is to first design classes that accurately represent those things with which the program deals. A drawing program, for example, might define classes to represent rectangles, lines, circles, brushes, pens, and the like. The class definitions, recall, include a description of permissible options for each class, such as moving a circle or rotating a line. (Prata 1995, 5).The main advantages of OOP, besides being able to create more complex software, and develop answers without changing the questions, are numerous. OOP facilitates creating reusable code, which can save a lot of work. Information can be hidden to safeguard data from improper access. Polymorphism lets the programmer create multiple definitions for operators and functions, with the programming context determining which definition is used, also Inheritance lets the programmer derive new classes from older ones. When using OOP, the programmer can focus on representing concepts, instead of concentrating on tasks.(Prata 1995, 6).Java, although in many respects similar to C++, is actually just a more simplified version of the latter. Java has a C++ like syntax, but it is more purely object oriented, also, memory management, which can be a problem with C++, is no longer a factor with Java, due to the fact that Java incorporates a built in garbage collector, which makes it unnecessary to explicitly free allocated memory. (Kaj 1996, 1) Another difference is that Java, unlike C++, does not contain pointers. ( (A pointer is a variable that tells a computer where data is placed.)(Prata 1995, 93) Java does not have...

Find Another Essay On Java Vs. C++

Python Versus C Essay

1295 words - 5 pages have extensive functionality when using modules and libraries. Python was designed to support integration, it can be written to use C/C++ and Java's library and module extensions and vice versa. Python is very portable; it can work with a variety of languages, such as Java and C/C++. It easy to write code statements in Python that can be interpreted in a number of operating system, including UNIX-based systems, Mac OS, MS-DOS, OS/2 and Microsoft's

Windows Xp Architecture Vs. Mac Os X Architecture

1180 words - 5 pages created development tools that are included with every copy of the system. One of the most notable programs that is included is called Xcode. Xcode provides interfaces to compilers that support several programming languages such as C, C++ and Java. Because Apple is also in a transition from the PowerPC RISC processor to the Intel X86 processor the Xcode application can compile code for either or both processors, making the compiled application a

QSTR modeling for qualitative and quantitative toxicity prediction of diverse chemical pesticides in honey bee for regulatory purpose

2668 words - 11 pages ., Willighagen, E., 2003. The chemistry development kit (CDK): an open‐source java library for chemo‐ and bioinformatics. J. Chem. Inf. Comput. Sci. 43, 493–500. Steinbeck, C., Hoppe, C., Kuhn, S., Floris, M., Guha, R., Willighagen, E., 2006. Recent Developments of the Chemistry Development Kit (CDK) – An Open-Source Java Library for Chemo- and Bioinformatics. Curr. Pharm. Des. 12, 2110-2120. Todeschini, R., Gramatica, P., 1998. In Kubinyi, H

QSTR modeling for qualitative and quantitative toxicity prediction of diverse chemical pesticides in honey bee for regulatory purpose

2506 words - 11 pages ., Weiner, L.M., 2002. Mechanism of pyrethroid neurotoxicity: Implications for cumulative risk assessment. Toxicology 171, 3-59. Specht, D.F., 1990. Probabilistic Neural Networks. Neural Networks 3, 109-118. Specht, D.F., 1991. A general regression neural network. IEEE Trans. Neural. Netw. 2, 568-576. Steinbeck, C., Han, Y., Kuhn, S., Horlacher, O., Luttmann, E., Willighagen, E., 2003. The chemistry development kit (CDK): an open‐source java

Multi Thread Intrusion Detection System (MIDS) for IPv6 Networks

2109 words - 8 pages model have the following features. a. Have the capability of IPv4 as well as IPv6 traffic analysis and intrusion detection and take some necessary measure on the bases of pre defined rules. b. Adopt multi thread technique to improve efficiency and effectiveness of system. Multi threads provide fast detection and processing to the system. c. Implemented as software bases which provides a basic concept towards further hardware base

Types of Image Compression for Medical Imaging

1646 words - 7 pages programming and computing environment which was developed by Math Works. MATLAB makes use of matrices to perform all sorts of mathematical calculations and has a rich functions library. We can also plot functions in 2D, 3D, create Graphic user interfaces and also interface with programs coded in other programming languages such as C, C++, Java and many more. It has tightly integrated graph-plotting features and a powerful GUI design environment tool.

Business Utilization Of Open Source Software

1955 words - 8 pages Open Office. Open system vs. closed system. Closed systems such as Microsoft products are the property of the company who developed and is protected under patents or copyright laws. The codes and languages that the products are based on are kept secret and the source codes are not visible. With closed source it is also illegal to copy, redistribute or change the code in any way. Open source however, is the opposite. Open source software must

Novell Network for Company Security

4530 words - 18 pages tools (C/C++ Compiler, Perl, Tcl/Tk, Python, CORBA, Ada, Pascal, Lisp, REXX, Java, etc., as well as many text editors and integrated development environments), all of which are free. In order to create software under Linux, there is no expensive package to buy. Many NT users complain about system crashes or the dreaded "blue screen of death." NT systems face a lot of down times, which creates a problem for mission critical situations. It is

Macroecons Research Paper

2782 words - 12 pages . Chris Yates. (2012, February 8). Airbus to inspect all A380 superjumbos for wing cracks[Graph]. BBC News. Retrieved from Fiorano. (n.d). Comparing Point-to Point with Hub-and-Spoke Topology[Graphs]. Retrieved from Javier. (2013, September). Airbus vs Boeing, Comparisons of Market Forecasts (2013)[Web

Solar Energy: An Old Energy Source Used in a New Way

1900 words - 8 pages generator to produce electricity. This procedure is also used in large solar thermal energy plants, which uses “concentrating parabolic dish systems in large-scale solar fields that concentrate the solar radiation onto a receiver" . In order to concentrate the radiation the systems are tracking the sun, which leads to higher costs. The temperature range of the concentrated energy is about 200 °C to 1000 °C. After the radiation reaches the receiver

Microsoft Antitrust Case

2059 words - 8 pages United States vs. Microsoft Corporation Microsoft first came under serious government scrutiny in 1990, and was sued by the US Government for violations of the Sherman Antitrust Act in early 1994. After a series of accusation and rebuttals, Microsoft entered into a consent agreement with the United States in 1995 that required it to offer a version of its Windows 95 operating system without its Internet Explorer browser. Only one manufacturer

Similar Essays

Comparison Of Java, Javascript, Java Applets And Java Beans

1776 words - 7 pages history, features, usage and syntax and finally follow up with a chart providing a comparison of the different Java architectures. History Java, a language based on C++, was developed by James Gosling and colleagues at Sun Microsystems in the early 1990's. (Java programming language, n.d.) It was originally called OAK and was designed for set top boxes and hand held devices. "Oak was unsuccessful so in 1995 Sun changed the name to Java and

Statement Of Purpose Essay

1098 words - 5 pages , Yahoo Messenger, etc, would not be feasible. We used the incremental model. Initially the project was developed in C#, later, to understand the implementation differences between Java and C#, we developed the project in Java. This project widened my understanding in programming languages, as well as strengthened my object oriented concepts. We studied the Client-Server interaction using sockets, Swing, Messaging and login-logout protocols. Despite

Linux Os Vs Windows Os Essay

3714 words - 15 pages language used Programming language is an artificial language design for programming computers. Its design to write instruction to a machine which will be used to create program that can control the behavior of a machine. There are several programming language that can be used in Linux Operating System (OS) which are C, C++, Java, Python and Perl. In C Linux kernel, together with most other parts of the OS, is also written mainly in C. C

Leanwave Essay

685 words - 3 pages Join the Lean Wave Asanka Abeysinghe Director, Solutions Architecture. WSO2, Inc. 1 Friday, July 22, 11 Asanka Abeysinghe § 10 + years industry experience working on projects ranging from desktop, web applications through to high scalable distributed systems and service- oriented architectures. § Areas of specialization include application architecture and development using Java technologies, C/C++ on Linux and