CAN WE USE EXTENDS AND Implements on same class at a time in Java | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

CAN WE USE EXTENDS AND Implements on same class at a time in Java

2nd Jan 2023, 1:54 PM
OO7 Manish kumar .M
OO7 Manish kumar .M - avatar
1 Antwort
+ 4
Hey, yes you can but you need to declare extends before implements. Here is an example: public class ClassName extends AbstactClassName implements Interface { // your code } I hope this one helped.
2nd Jan 2023, 2:36 PM
NTADI MJ🇨🇬🌍🇨🇬
NTADI MJ🇨🇬🌍🇨🇬 - avatar