Static variables
A static variables value is the same for aALL instances of the class…The static duckCount variable…
A static variables value is the same for aALL instances of the class…The static duckCount variable…
Arrays are always objects, whether they’re declared to hold primitives…int[] nums;nums = new int[3];nums[0] = 4;nums[1]…
Variables come in two flawors: Primitives Reference Primitives Primitives hold fundamental values (think: simple bit patterns)…