Method's Extension | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Method's Extension

how to add a method's in a existing type if an existing type is belongs to category Class but it is Sealed Class or it is belongs to Struct Category or We don,t have a Source Code of this type. how ? remember Sealed Class did not allow Inheritance and Same in Struct and it is possible only if we have a Source code of existing type but this time we Don't have. Answer pls.

14th Sep 2018, 6:13 AM
Real Gutch
Real Gutch - avatar
3 Answers
+ 5
Real Gutch Please add Java or the name of the language to the tags. So you can be helped faster.
14th Sep 2018, 6:28 AM
Manual
Manual - avatar
+ 4
Manual done
14th Sep 2018, 6:29 AM
Real Gutch
Real Gutch - avatar
14th Sep 2018, 9:39 AM
Real Gutch
Real Gutch - avatar