Viewers: in countries Watching now:
Finally, the course compares how code is written in several different languages, the libraries and frameworks that have grown around them, and the reasons to choose each one.
The next language we're going to take a look at is Java. This is heavily influenced by C, but came along over 20 years later. This was released in 1995 and was developed by Sun Microsystems. It is an enormously object-oriented language. It's all about classes and objects and it comes with an enormous library called the Java Class Library. Effectively meaning a whole bunch of prewritten code that you don't have to write. There is an enormous amount of functionality already in there for you.
It is a high-level language. We don't really have to mess around too much with memory management. It has a built-in garbage collector. Java is a language that uses the hybrid compilation model. It's neither straight compiled nor is it interpreted. It compiles and sends to something called bytecode. One of the reasons for that was the idea of being a very cross-platform language. There was a slogan that Sun used called "write once, run anywhere." Now as it's a partially interpreted language that does mean that people do have to have the interpreter for Java on their machine.
What's called the Java Virtual Machine or JVM. You've almost certainly seen that yourself, that some application on your machine has wanted to install Java. That's probably a good clue that one of the things it's famous for is for desktop applications. You can write a desktop application in Java and have it run on a Mac and have it run on a Windows PC, have it run on a Linux box. Recently, one of the big uptakes in Java was for developing mobile applications that run on the Android platform. So it's a C-based language.
Two are the most popular are Eclipse and NetBeans and because this language is owned by Sun and developed there java.sun.com is the most authoritative website to go to. Sun is now owned by Oracle. So you may be redirected, but you'll always be able to find a lot of information there on getting started and tutorials and the basics of starting to work with Java.
Find answers to the most frequently asked questions about Foundations of Programming: Fundamentals .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.