I\'am a newbie in JAVA and this came across this word called.
\"A class i.e. created inside a method is called local inner class in java. If you want to invoke the methods o
when you create an instance of a class or simply called as an object
for ex: Bike abc = new Bike();
as soon as you create this object using the new keyword, a new block of memory is created and object "abc" will now be pointing to that new block of memory, this is called as instantiation in java.