I have just signed up to the Course on “Ultimate Desigh Patterns” Mosh suggested install IntelliJ IDEA to follow along in Java code, which I did.
However, it reports “Cannot resolve symbol ‘var’” and shows it as color red when I attempt to enter ‘var’ in a line i.e.
var stopwatchname = new Stopwatch();
Currently my work around is to enter it as
Stopwatch stopwatchname = new Stopwatch();
I am not a Java man, but assume it a simple setting problem with IntelliJ IDEA - can any one help?