What's the the difference if I were to use "this.x=y" instead of just "x=y"?
All I know is that this refers to the object created from the class.
Also what's the difference if I were to use "this.method()" as compared to creating a new class like so, "Class cs = new Class(); cs.method()"
Last question...
What is an interface? I've read some articles on it and it says something about extending classes. How do you use the method when what's inside it is just like calling a method? Also are there any detailed tutorials which teaches about interface and how to use it to pass a function as an argument?
BTW, if you know any good blogs on Java, please share.
Thanks!