+ 4

COMPARABLE

What is Comparable in java? Thanks. class something extends someotherthing comparabale anyotherthing

12th Mar 2017, 11:26 AM
Meharban Singh
Meharban Singh - avatar
1 Respuesta
+ 3
Comparable is an interface in Java. It allows objects of the class implementing comparable to be compared with other objects. More info on this could be found on :- http://www.javatpoint.com/Comparable-interface-in-collection-framework
12th Mar 2017, 11:49 AM
Utkrisht Sinha