Insert Dimensions to complete Expression/ReferenceType

I’m a newbie to Java. I have provided a short snippet from my code for BFS. public int bfs(Person p, Person q) { private HashMap marked; private int count; marked …