- Objects
- Classes
- Inheritance
-
Programming in Java on Your Computer - Classes and Objects in BlueJ
- Trying out Code in BlueJ
- The Code for Creating and Using Objects
- Source Code and Methods
- Accessors and Mutators
- Constructor Code
- Scope
- Inheritance
-
BlueJ Review - Class Code
- Simple Debugging
- Interactive Picture
- Refactoring Code with Inheritance
Programming in Java on Your Computer
Premium Content - Free Preview
Its nice to be able to code in the browser, but you get certain benefits by coding Java on your own computer. To do that, you'll need these 3 things installed, which will be discussed below:
- JVM, a.k.a. "Java"
- a compiler (the JDK)
- an IDE (for coding in)
Running Java
Source code is the actual code that you write, which needs to be converted into lower levels of code for computers to actually run it. In Java, the source code is converted into Java Bytecode, which is then run on the Java Virtual Machine (JVM). To run any Java program on your computer, you need to have "Java" installed, i.e. the JVM. You probably have it already, but it can be downloaded here.
To compile your Java source code into Java Bytecode, you need a Java compiler, which is included in the Java Development Kit, or JDK.
Installing the JDK on your Computer
Update: You can now download the JDK with BlueJ from the BlueJ website. This is the easiest way to get everything set up.
End of Free Content Preview. Please Sign in or Sign up to buy premium content.
Comments
kevintaw
Jun 15, 4:39 AMI have installed this software just now
Bolke
Jul 30, 4:59 PMThat was maybe the most challenging problem I have had to do on Learneroo. I wish I could see other people's solutions.