নিচের ছবিটি লক্ষ্য করি।


ধরে নেই যে b বস্তুটি a কে inherit করছে। তাহলে x extends হবে নাকি implements হবে তা নিচের বিষয়গুলির উপর নির্ভর করবে।



Case 1

a b is of similar type like both of them are either class or interface.

x = extendsS

Case 2

a b is of different types like a is interface and b is class

x = implements

Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with a Help Authoring Tool