Do local variables get collected after method is done running
===

For example

    public void doSomething() {
       Dog smallDog = new Dog();
       smallDog.bark();
    }

will the dog object be collected after this method is run?