Do you know that? Learn from criticism instead of shrugging it off. next

What are local variables?

Local varaiables are those which are declared within a block of code like methods. Local variables should be initialised before accessing them.