Can I pass a field of a class to a constructor or a method?

I have the following class: public abstract class Map { protected PriorityQueue openNodes; } My implementation currently work like this: public Map() { PriorityQueue<Node&…