Logo
TGCATALOG
Catalog Collections Blog
Java | Interview questions

Java | Interview questions

Questions and answers for Java developer interviews.

No ratings
324
01.12.2026
324
01.12.2026
No ratings
324
01.12.2026
Safe redirect via bot
О канале

Questions and answers for Java developer interviews.

Подписчиков —
Тематика Technology
Ссылка @easy_java_ru

We also recommend

Kekaton AI | Voiceover and voice clone
Kekaton AI | Voiceover and voice clone
Bot

AI bot for text-to-speech and voice cloning in Telegram. Create audio using neural network quickly and easily.

Description

Selection of typical questions in Java interviews: from JVM basics to Spring and Hibernate. Each question with detailed explanation, code examples, and tips. Suitable for all levels.

Latest posts

Java | Interview questions
Java | Interview questions
🔒Открыть пост
и посмотреть медиа
🤔 Слышал ли что то про метод intern? Метод intern() в классе String используется для оптимизации памяти. Он добавляет строку в String Pool и возвращает её ссылку, если строка уже там есть. 🚩Как работает `intern()`? Без intern() – строки создаются в Heap (куче) String s1 = new String("Hello"); // В куче (Heap) String s2 = new String("Hello"); System.out.println(s1 == s2); // false (разные объекты) С intern() – строки хранятся в String Pool String s1 = new String("Hello").intern(); String s2 = new String("Hello").intern(); System.out.println(s1 == s2); // true (одна строка в String Pool) 🚩Что такое `String Pool`? Это специальная область памяти, где хранятся уникальные строковые литералы. Все строковые литералы ("Hello") по умолчанию хранятся в String Pool. String s1 = "Hello"; // В String Pool String s2 = "Hello"; // Ссылается на тот же объект System.out.println(s1 == s2); // true 🚩Когда использовать `intern()`? Когда у вас много одинаковых строк в памяти (например, имена, идентификаторы). Для экономии памяти, если строки часто дублируются. В парсинге JSON, XML – одни и те же строки могут повторяться тысячи раз. List names = new ArrayList(); for (int i = 0; i < 100000; i++) { names.add(("User" + (i % 100)).intern()); // Используем String Pool } Ставь 👍 и забирай 📚 Базу знаний
Java | Interview questions
FAQ

Open Java | Interview questions in Telegram and press the Start button. No separate registration is required.

Yes. The service is designed to be straightforward: open the resource, follow the on-screen instructions and start using it.

No. You can use Java | Interview questions directly in Telegram unless the resource description says otherwise.

Access depends on the resource. Check the current information in Telegram after opening Java | Interview questions.

The exact features depend on the resource. Open Java | Interview questions to see its current functions, content and access conditions.

Reviews for channel Java | Interview questions

Log in to leave a review

Only registered users can share their opinion.

No reviews yet

Be the first to share your impression of this resource!

Similar resources

Loading
Switch to Light Theme
Home Catalog Collections Blog Login