how to set a default array annotation inside an interface | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

how to set a default array annotation inside an interface

Like the basic String and integer annotation.

29th Apr 2020, 4:37 PM
L PRASANTH
L PRASANTH - avatar
1 Antwort
+ 1
Your question is too vague. What language? Give an example in pseudo code. Typically, an interface doesn't have a method body and is just an outline for classes that will implement it, so that it insures a commonality amongst all classes that implement the same interface.
29th Apr 2020, 6:03 PM
ChaoticDawg
ChaoticDawg - avatar