Maheshwar Ligadefortechwastitechwasti.com·Nov 29, 2024A Practical Guide to Using Optionals in Java.Introduction Java introduced Optional<T> in Java 8 to handle the common issue of NullPointerException and make code more readable and expressive. Optional provides a container object which may or may not contain a non-null value, helping developers t...Java
Jyotiprakash Mishrablog.jyotiprakash.org·Nov 19, 2024Introduction to Functional Programming in JavaFunctional Programming and Its Growing Popularity Over the years, software development has continuously evolved, with each paradigm addressing specific challenges. Functional programming, an approach that treats computation as the evaluation of mathe...49 readsmethod reference
Raghav Shuklaraghav-byte.hashnode.dev·Oct 17, 2024Reddit Backend Project Using Microservice ArchitectureWhat are Microservices Microservices represent a software architecture approach where a complex application is built as a collection of small, independent services, each running in its process and communicating with others through well-defined APIs. ...12 likes·74 readsreddit
Akash Dasakashdas7781.hashnode.dev·Oct 6, 2024Understanding Interface vs Abstract Classes in Java and Best Use CasesI hope you guys ever heard about the difference between the abstract classes and the interfaces . This is the key concept of Object oriented programming and mostly used while designing flexible and maintainable applications. Before diving into the di...1 like·36 readsJava
Vivek Takblog.vivek.codes·Jul 30, 2024Mastering Java Streams for Efficient Data ProcessingHey there, Java enthusiast! Ready to dive into the magical world of Java Streams? If you’ve ever felt overwhelmed by looping through collections or manipulating data, you’re in for a treat. Java Streams will change how you think about data processing...73 readsStreams
Bikash Nishankbikash-nishank.hashnode.dev·Jul 21, 2024Exploring Java 8: A Complete Feature GuideTable of Contents Introduction Overview of Java 8 Features Lambda Expressions What is a Lambda Expression? Example 1: Traditional Way vs. Lambda Expression Example 2: Filtering a List Stream API What is a Stream? (java.util.stream API) St...Java Lambda
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Jul 6, 2024What do you mean by StringBuffer is a thread safe implementation?StringBuffer: The Thread-Safe String Builder In our previous post, we explored StringBuilder, a powerful tool for efficient string manipulation in single-threaded environments. Today, we'll shift our focus to its synchronized cousin, StringBuffer. Wh...2 likes·27 readswhystringbuffer
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Jul 5, 2024What do you mean by StringBuilder is not a thread safe ?Hello Developers 🧑💻, I have been asking this question in interviews most of the time, and I get disappointed by candidates. Everyone knows StringBuilder helps in creating mutable string objects because a normal String object is immutable. But when...1 likewhy stringbuilder
Chetan Dattachetan77.hashnode.dev·Jun 20, 202423 Java - Stream (Java8)Stream We can consider stream as a pipeline, through which our collection elements passes through. While elements passes through pipelines, it perform various operations like sorting, filtering etc. Useful when deals with bulk processing. (Can do ...107 readsJavaJava
Manupuri Nithinnithinmanupuri.hashnode.dev·Jun 18, 2024Java 8Functional Interface: functional interface is an interface that has exactly one abstract method. #Single Abstract methods Runnable() ->run(); Callable() -> c...160 readsjava8