🎴 Flashcard Mode

C# Fundamentals and .NET Framework

Card1 / 7
Mastered0
Review0
QuestionClick to flip

A variable which is declared inside a method is called a________variable

AnswerClick to flip back
A
Local
💡 Explanation:

Variables declared inside a method are called local variables because they are only accessible within that method's scope. Local variables are created when the method is called and destroyed when the method exits. Option A (Serial) is not a standard variable classification term. Option C (Private) refers to class-level access control, not method-level scope. Option D (Static) refers to class variables shared across all instances.

Change Mode