Question
What is a Local Variable
Answer
Variables defined inside methods, constructors or blocks are called local variables. The variable will be declared and initialized within the method and it will be destroyed when the method has completed.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.