Java Vs. C++
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,
Reviews of: "Java Vs. C++"
:
I study c++ and delphi, so it's interesting to get an insight into java. I'll have to try it out now and see if I like the differences you mentioned.
Extremely informative and well written. Good job!
Very impressive!! You can really tell that you are an expert in this field.
are you a computer programmer or what.......man.......that is good
More Computer Ethics
essays:
Computer Viruses.
... facilities, and causes execution of the copy on that system. In essence, a computer program which ... domain software. It is more convenient to exchange source code, since differences in hardware architecture may preclude exchanging executables. It is this type of attitude ...
This paper is about computer copyright laws. It also goes itto software copyright laws.
... copy of it, or at least photocopy or scan each page, and it would most likely take up much more time than its worth. To copy a computer program however ... make similar software, keeping the industry competitive, but it would have to not allow copying of portions of other software (because ...
Questions of Ethics in Computer Systems and their Future
... TV and be able to receive some 500 channels. After checking with your voice activated home computer to see if there is any phone messages or E-mail, you'll retire to bed of course ... have programed to extract information from five or six different sources that you want your news from and it ...
Morality and Ethics and Computers
... copies of software is also a growing problem in the computer world. Most people find no problem in buying a computer program and giving ...
Helpful Computing Infomation/project 95% recieved.
... of space and that is the reason for the huge hard disk. (d) The Software applications I would recommend for this computer apart for the Included programs which are: The Software that comes with the computer is: Microsoft Windows UP Home ...
Computers and the Law
... viruses and other nuisances. The offences are: Unauthorised access to computer programs or data; is covered by the first section of the Act, accessing a computer system without the knowledge or consent of the owner is illegal. Even attempting to ...
Hackers versus Business and Financial Institution Computers: Who will win the battle?
... involved with providing adequate security as well as the remanufacturing of destroyed computer hardware, software, and data. In Germany, Noris Verbraucherbank was attacked by a hacker ...
Is computer security the only option to combat the misuse of e-mail?
... emails. Program's such as outlook often block many of these until you specify it is from a reliable source. Hoax e-mail's are quite common and persistent, but some fault lies on the user. Most computer users ...
Impressive!
I'm currently half-way through a year long course in java, and up until now, I had no idea what the differenced were. I pretty much dove head first into programming as soon as I got a taste of it, so I never really knew anything about either java or C++. Fantastic essay!
18 out of 18 people found this comment useful.