Difference Between Comparable And Comparator Interface | Core Java Interview question

preview_player
Показать описание
Difference Between Comparable And Comparator Interface is explained in this video.
java collection interview questions and answers for 3 years experience.
Java interview questions
Java programming tutorial
Java programming for beginners
Java tutorial for beginners
Java tutorial

Video for difference between Method overloading and Method Overriding
Or
Video for difference between Compile time polymorphism and runtime polymorphism
Video for Inheritance Vs Association & Aggregation Vs Composition

Video for difference between JDK, JVM and JRE

Video for Object Oriented Programming Part 1

Video for Object Oriented Programming Part 1

Why String in Immutable?

Video for Coupling and Cohesion

Video for Differenace between String, StringBuffer and StringBuilder in java

Using Generics In Collection

Introduction to collection framework

Difference Between ArrayList And LinkedList
Рекомендации по теме
Комментарии
Автор

Hi Gayatri,

we cant sort collections without comparator or comparable. in your example saying string we can sort without comparator and comparable. string class internally implementing comparable see below class declaration. all string and wrapper class internally implements comparable interface

public final class String
implements java.io.Serializable, Comparable<String>, CharSequence {

ArunKumar-rqjw
Автор

Nice maam explained in very simple way, please keep posting new videos on java 8 as well

JameS
Автор

Hi can you please make a vedio on java 8 new features and stream api

dreamvlogger
Автор

Nice Explanation, can you please share the sample java code, which you are explaining in your video.

SureshKumar-rhjr
Автор

what is the difference between clone( ) and clonable interface

chanduvelagapudi
Автор

mam plz give glance on Unchecked and Checked Exception

mehtabkhan-nfvh