31.4k views
4 votes
You can declare two variables with the same name in ________. a block a method one as a formal parameter and the other as a local variable different methods in a class two nested blocks in a method (two nested blocks means one being inside the other)

User Asifa
by
8.3k points

1 Answer

5 votes
Different methods in a class.
User Mehravish Temkar
by
7.8k points

No related questions found