functions with same name and different parameter types are OK
check for null: cannot call equals on thing that doesn’t exist
.add(POS, VALUE)
substring “01234” can take 5 because does not include 5
polymorphic variables
int[3][4] has a list of 3 lists of 4 elements
implements
== compares references → “hello” == “hello” but “hello” != new String(“hello”)
.equals compares content
call to statement must be first in constructor
((Dog) animal2).getBreed() not (Dog) animal2.getBreed()
single quotes for char
x.0 for floats and doubles
Comments
You are seeing this because your Disqus shortname is not properly set. To
configure Disqus, you should edit your _config.yml to include
either a disqus.shortname variable.
If you do not wish to use Disqus, override the
comments.html partial for this theme.
Comments
You are seeing this because your Disqus shortname is not properly set. To configure Disqus, you should edit your
_config.ymlto include either adisqus.shortnamevariable.If you do not wish to use Disqus, override the
comments.htmlpartial for this theme.