Mam i’m Unable to Understand the main function the line in which object of class is created .
Unable to Understand the main function
whats your doubt in that? we are just creating an object
StacksUsingArrays stack = mainobj.new StacksUsingArrays(1000); mam in this stack object
mam we made object with new keyword what is the need of using this main class object as mainobj.new.
this is just for calling the stack class we have defined for ourselves.nothing else
Okay mam Thank You! Got it
please mark your doubt as resolved