Lecture 6

a┬árefresh of previous course is done…with a focus on division operator

after some brief example proving how / (division operator) works with both, integer and double numbers, the discussion turns towards operator precedence

6:44 cast – or how to transform between different types of data

so, how can you help temporarily an expression to handle double data if it has only integer parameters, that after a division result in a double

Read more of this post

Lectures 4/5/6 – Types and Conditionals/Iteration and Arrays I/Iteration and Arrays II

Other 3 lectures from 61B course at Berkeley University….

Basically those are about instructions, loops and arrays in Java.

1:47 – very important “difference between references and primitive types – references point to an object somewhere” in other words, they do not own the data, “primitive are just simple basic types of data

so .. which are the primitive types in Java: byte, short, integer, long and for floating point numbers there are double and float and … boolean and char which can store only one single character.

it is almost sure that this guy, Jonathan, didn’t worked so much in the e,bedded filed, since he strongly recommends to use long, as a default data type.

Read more of this post