Design Presentation & Reporting

Whats goes on in Design Presentation & Reporting

Lecture Five – Java

This lecture talked about variables and how this is pretty much a box where we put stuff with the knowledeg that the content inside this box may change. Primitive types we then talked about as there are types that are built into java for example int = integer, double = real value, boolean = logical and char = character.

Mehren then went on to discuss how to declare variables and he showed the example for lecture four of the console program and wen’t on to highlight the declaration within this program so we could see first hand what he was talking about.

Variables that contain objects were the next plan of attack for example GLabel, GRect, GOval and GLine are all part of the GObject variable. The object is the receiver that receives methods.

When it comes to color the Java.awt package was then discussed and example were given such as color.PINK, color,RED etc. Mehren then discuseed constructors and how to draw from geometrical objects. The final part of the class  covered expressions which we are going to go more in depth about next lecture.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This entry was posted on December 9, 2013 by in Java and tagged .
%d bloggers like this: