I wrote this program:
Two queries regarding this:
1. Why does the compiler allow me to access "method" eventhough it is declared abstract?
And also if I make "variable" a local variable inside main() I get an error that says "variable" has not been initialized. Now if "variable" is made an instance variable like in the above program it must be getting a default value otherwise the compiler would've complained.
2.What is that default value?
Thanks in advance for any help!