logo

Primitives in Java

logo

In the Java programming language, variables must be declared before they are initialization. This is typically referred to as being statically typed. An example of such is as shown

byte carTotal = 3;

In this example a byte data type called carTotal holds a value of three. Based on the name of the variable, the variable could represent anything that stores a value or inventory of cars, such as a garage or small parking ramp. A primitive in Java is reserved by its own keyword and do not share states with other primitives.

Type Size in Bits Values Binary Values Standard
boolean 8 true or false N/A N/A
char 16 ‘\u0000′ or ‘\uFFFF’

(0 to 65535)

N/A ISO Unicode character set
byte 8 -128 to +127 -27 to 27 – 1
short 16 -32,768 to +32,767 -215 to 215-1
int 32 -2,147,483,648 to +2,147,483,647 -231 to 231-1
long 64 -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 -263 to 263-1
float 32 Negative range:

3.4028234663852886E+38 to

1.40129846432481707e45

Positive range:

1.40129846432481707e45 to

3.4028234663852886E+38

N/A IEEE 754 floating point
double 64 Negative range:

1.7976931348623157E+308 to

4.94065645841246544e324

Positive range:

4.94065645841246544e324 to

1.7976931348623157E+308

N/A IEEE 754 floating point

The Java programming language also has support for character strings using the String class. If the character string is enclosed in double quotations, a new String object is automatically created. Here’s an example…

String str = “This is a string”;

Technically, a String value is not a primitive data type, but the thought can be established based on the special qualities that Java has for String objects. Finally, Strings are immutable, which means that once a value is assigned, the value cannot be changed.

Almost There…

logo

It’s been roughly two days and I seem to have most of the things ironed out on this site. Most of the content I had on my old site that I wanted to keep has been transferred to the site, with the exception of my flex content. I’m still thinking about how I want to approach that material on this new site.  With that being said, expect some new content up soon!

Placebo- Plasticine Video Montage

logo

For Tim Krause’s WDMD 346 course on e-commerce this summer we were asked to create a piece of media and use it for a viral marketing experiment. I decided to use a video montage i made using Final Cut. This was my first time using the software and doing something a bit more serious with video editing. I took clips of public domain video from Archive.org and formed a centralized theme from them and from the song i used for the video. I chose “Plasticine” by Placebo because I believe that the lyrics from the song are very effective when it comes to the portrayal of beauty. The summary for my video is as follows:

My goal for the video is to convey that beauty is relative not only to the individual, but also the the norms in society at any given time. A lot of what was considered “beauty” in the 1920s-1940s is different than how we view beauty today.

I hold the sincere belief in the summary above for beauty is something that society establishes among itself through various types of media. When viewing this piece, you can see that the perception of beauty is different than in today’s times. Most of the video footage contains models from the era. The video can be viewed below.

NowHere Design Conference 2008 Claymation Video

logo

I’ve decided that I would finally get around to posting other video projects on here, so i went back and searched through my harddrive to find a claymation video I made at the 2008 NowHere Design Conference held at UWSP. this was my first time ever working with Claymation in any type of fashion, and it turned out to be a wonderful experience. My group consisted of myself, Chris Leslie, Tanya Haller, and Matthew Lison. We had approximately 8 hours to write a basic script, create characters, storyboard, shoot, and edit our creation. The theme for the video had to be danceclubs in the late 1990s, so we had to incorporate the concept into the project somehow.

We ended up somehow thinking about Samuel L. Jackson in a club called SOAP (Snakes on a Plane) and his encounter with Richard Simmons the one night he attended the club. Enjoy our creation!

Microcosm Mania!

logo

Microcosm Screening at Central Wisconsin Film Festival

Microcosm will be shown at the Central Wisconsin Film Festival November 7 and 8. The November 7 location will be at the Lettie Jensen Center in Amherst and the November 8 location will be at Ben Franklin Jr. High. All are encouraged to come out and support Microcosm. The festivals begin at 7:30pm and admission is $9.00.

Microcosm on DVD!

Microcosm has finally been released to DVD and contain many many extras!

Special Features Include: Director Commentary, Behind the Scenes Documentary, News Coverage, Deleted Scenes, Bloopers and the Trailer!

Director Erik Cieslewicz has also created a short video on the DVD release.

Page 1 of 212
logo
Powered by Wordpress. Copyright 2009 Brett Widmann.