Ganesh NethulaforCode With Ganeshcodewithganesh.hashnode.dev·Nov 14, 2024Comprehensive List of String Programming QuestionsWrite a program that checks if a given string is a palindrome. Ignore case and spaces. For example, "A man a plan a canal Panama" should return true Write a program that finds the most frequently occurring character in a string. Ex: in "programming"...Core JavaJava string manipulation
Gowtham Muthuvelgowthammuthuvel.hashnode.dev·Nov 10, 2024Mastering Concurrency in Java: From Traditional Multithreading to Virtual ThreadsJava has long been a preferred language for building high-performance applications, thanks in part to its powerful concurrency capabilities. As demands for responsiveness and scalability grow, understanding Java’s concurrency model especially with th...39 readsJava
Bikash Nishankbikash-nishank.hashnode.dev·Oct 17, 2024Java Interview QuestionsString: What is the difference between String, StringBuilder, and StringBuffer in Java? Explain how String is immutable in Java. What are the benefits of immutability? How does the intern() method work with String objects? What will be the output...92 readsJava interview Preparation
Mohit Upadhyaymohit5upadhyay.hashnode.dev·Oct 2, 2024Annotations in JavaOn Day 21, the focus is on Annotations in Java. Annotations are a form of metadata that provide data about a program but do not have direct influence on the program's logic. They are widely used to provide additional information for compilers, develo...20 likesDecode Java with MohitJava
Dilip Pateljavamastery.hashnode.dev·Oct 3, 2024Java CommentsIn Java, comments are used for code readability and documentation, ignored by the compiler. There are three types: single-line (//), multi-line (/* ... */), and documentation comments (/** ... */). Documentation comments are processed by Javadoc to c...29 readsJava BasicsJava
Mohit Upadhyaymohit5upadhyay.hashnode.dev·Sep 27, 2024Working with Java 8 FeaturesOn Day 20, we will focus on the major enhancements introduced in Java 8. This version of Java introduced several powerful features aimed at functional programming, making the code more concise, readable, and optimized for parallel processing. Key con...10 likesDecode Java with MohitJava
Chiragknowchirag.hashnode.dev·Sep 25, 2024Java String Essentials: A Beginner’s GuideIn this post, we’re going to explore one of the most essential and intriguing data types in Java: Strings. For many newcomers, especially those coming from languages like C, C++, navigating Strings in Java can be a bit tricky at the beginning. Unlike...Java
Mukul kumarmuku.hashnode.dev·Sep 24, 2024Why 1==1 is true but 128==128 is false in JavaUnderstanding Integer Caching in Java: Why 128 == 128 Can Be False If you’ve ever worked with Java, you might expect that comparing two equal numbers with == would always return true. But have you ever encountered a scenario where 128 == 128 results ...11 likes·59 readsIntegerCaching
Mohit Upadhyaymohit5upadhyay.hashnode.dev·Sep 22, 2024Multi-threading in JavaOn Day 19, the topic focuses on Multithreading in Java, one of the core features for enabling concurrent execution in programs. Java provides built-in support for multithreading, allowing multiple threads to run simultaneously, optimizing CPU usage a...10 likesDecode Java with MohitJava
Shubham Gordeshubhamgorde19.hashnode.dev·Sep 14, 2024Java t1Today I am going to show to java basic syntax and how it works public class Main { public static void main(String[] args) { System.out.println("Hello World"); } } So this is a basic syntax of java where the first world is public mea...java coding masteryJava