How we can use interface in java n how to.implement it using this keyword anybody know thn plz give d ans or dropped it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How we can use interface in java n how to.implement it using this keyword anybody know thn plz give d ans or dropped it

14th Jul 2016, 11:22 AM
shubhu
2 Answers
0
Hmm have you read the interface section in the 'More on Classes' module yet? If so you should know to use the 'implements' keyword to implement it. 'this' is rather used to refer to the current object.
14th Jul 2016, 2:57 PM
Triniel
0
Bt i want a program cz today i had took 1 prg which was interface bt using import section i had to done it bt it cant be execute afterall there was totally 12-16 errors are occurred
14th Jul 2016, 3:44 PM
shubhu