Object Oriented Programming is a programming language type modeled around using combinations of data structures, or objects, instead of actions and data instead of logic. These objects are modeled off both the state and behavior of real world objects. They can exchange information with one another or can be combined with each other into blocks. The objects also have procedures that can access and modify the data of the object they are in. The programs are designed for the objects to interact with each other.
Java
Java developed by Sun Microsystems in the early 1990s and was originally called OAK. They had five goals for its development. These were that it was to use an object-oriented approach, run on multiple operating systems, contain built-in support, for using computer networks, execute code from remote sources securely, and be easy to use. It was the first programming language that wasn’t tied to a particular operating system and …show more content…
Java is a stand-alone programming language that can function on its own while JavaScript needs to be place inside a HTML document to function. A Java app is a full program while JavaScript is fed into a browser such as Google Chrome or Internet Explorer where it is interpreted and then enacted by the browser.
The languages are also presented to the end user differently. Java must be complied before it can run on the web. Basically the programmer writes the program, checks for errors, and then hands it over to a computer program, which changes the code into a smaller language and then formats it so that it is easily read by the computer. Nothing can be added or taken away from it after this without destroying the program but it can run anywhere. It would have to be compiled again. JavaScript is text-bases. It was written to an HTML document and then runs it through a browser. It can be altered after it first runs and then run again and