so we override it when declared new Object, right? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

so we override it when declared new Object, right?

11th Feb 2017, 7:42 AM
Nochains
Nochains - avatar
4 Answers
+ 2
I think 'it' is an anonymous class? Maybe you should read this: https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html If you don't understand the tutorial, let us know what you don't understand.
11th Feb 2017, 9:55 AM
Tashi N
Tashi N - avatar
+ 2
here is an example that you may want to check to see difference or understand the meanings of overriding and overloading https://code.sololearn.com/c0awDMpDLukF/?ref=app
11th Sep 2017, 3:11 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
0
What is "it"?
11th Feb 2017, 7:49 AM
James Burton
James Burton - avatar
0
anonymous class, sorry for my miss.
11th Feb 2017, 10:12 AM
Nochains
Nochains - avatar