how to set a default array annotation inside an interface | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 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