local variable infere changes (#1038)

local variable infere changes for STATE design pattern
This commit is contained in:
GVSharma 2019-10-26 21:11:39 +05:30 committed by Ilkka Seppälä
parent 0b8d78e4bf
commit 12f13a631e

View File

@ -41,7 +41,7 @@ public class App {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
Mammoth mammoth = new Mammoth(); var mammoth = new Mammoth();
mammoth.observe(); mammoth.observe();
mammoth.timePasses(); mammoth.timePasses();
mammoth.observe(); mammoth.observe();