✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Assume that you have the following simple Java method (note that this is a valid piece of code):
public void foo(int x, int y){ int bar = 4; int baz = 7; System.out.println(bar + baz + x + y);}
What is the lifetime of the variable called bar