- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
#34.5 Sort an Collection of Objects in Java based on multiple conditions
"Welcome to Tech-ಬಿಂಬ"
In this video, we will learn how to sort an array of Employee objects in Java based on multiple conditions:
✅ Condition 1: Sort by salary (ascending)
✅ Condition 2: If two employees have the same salary, sort by name (alphabetically)
We will demonstrate this in three different ways:
🔸 Using an anonymous Comparator class
🔹 Using lambda expressions
✨ Using the powerful Comparator.comparing() with thenComparing()
This is a must-watch for anyone preparing for Java interviews, working with collections, or looking to level up their Java coding skills.
Don’t forget to Like, Comment, and Subscribe for more awesome Java tutorials in Kannada!
📢 Share this with your friends preparing for Java interviews.
#Java #JavaSorting #Comparator #Lambda #JavaInterview #JavaKannada #JavaTutorial
Видео #34.5 Sort an Collection of Objects in Java based on multiple conditions канала Tech-Bimba (ಬಿಂಬ)
In this video, we will learn how to sort an array of Employee objects in Java based on multiple conditions:
✅ Condition 1: Sort by salary (ascending)
✅ Condition 2: If two employees have the same salary, sort by name (alphabetically)
We will demonstrate this in three different ways:
🔸 Using an anonymous Comparator class
🔹 Using lambda expressions
✨ Using the powerful Comparator.comparing() with thenComparing()
This is a must-watch for anyone preparing for Java interviews, working with collections, or looking to level up their Java coding skills.
Don’t forget to Like, Comment, and Subscribe for more awesome Java tutorials in Kannada!
📢 Share this with your friends preparing for Java interviews.
#Java #JavaSorting #Comparator #Lambda #JavaInterview #JavaKannada #JavaTutorial
Видео #34.5 Sort an Collection of Objects in Java based on multiple conditions канала Tech-Bimba (ಬಿಂಬ)
Комментарии отсутствуют
Информация о видео
16 апреля 2025 г. 7:29:47
00:08:54
Другие видео канала














![#40.9[Kan] ReadWriteLock in Java](https://i.ytimg.com/vi/iiXMMsP_ffI/default.jpg)
![#1[Eng] LLM Introduction](https://i.ytimg.com/vi/BEMABxub2Uo/default.jpg)




![#40.2 [Kan] Creating Threads in Java | Thread Class vs Runnable Interface | Java Multithreading](https://i.ytimg.com/vi/UZhYoPQI6gk/default.jpg)