Pedro Lopes
open-menu closeme
Home
About
github twitter linkedin rss
  • String Concatenation in Java

    calendar Oct 4, 2022 · 4 min read · java memory management  ·
    Share on: twitter facebook linkedin copy
    String Concatenation in Java

    This post shows how to concatenate String using trivial methods like the plus operator and the concat method. Here, we'll look at some problems associated with those two ways and how to avoid them using the StringBuilder and StringBuffer classes.


    Read More
  • What is the toString Method in Java

    calendar Sep 26, 2022 · 5 min read · java java string  ·
    Share on: twitter facebook linkedin copy
    What is the toString Method in Java

    This article explains the toString method, its purpose, and how to use it effectively in Java classes.


    Read More
  • What is the String Pool in Java

    calendar Sep 12, 2022 · 5 min read · java java string  ·
    Share on: twitter facebook linkedin copy
    What is the String Pool in Java

    In this article, we'll look at the String Pool and how it works in the Java programming language. Code examples illustrate the string immutability and string pool.


    Read More

Pedro Lopes

Engineer, Technologist, Writer, Teacher, and Perpetual Student.
Read More

Featured Posts

  • What are Records in Java 14
  • Deadlock, Livelock, and Starvation in Java

Recent Posts

  • ZonedDateTime in Java: Convert Between Timezones and Handle Daylight-Saving Time Automatically
  • Differences Between anyMatch() vs. allMatch() vs. noneMatch() in Java
  • Java 8 Stream findFirst vs. findAny: Perfomance and Functional Differences
  • Type Erasure and Heap Pollution in Java
  • Introduction to Generics in Java
  • What are Records in Java 14
  • Deadlock, Livelock, and Starvation in Java

Series

CONCURRENCY 3 STRING 3 CLASS-DESIGN 2 COLLECTIONS 2 DATETIME 2 GENERICS 2 STREAMS 2 DESIGN-PATTERNS 1 EXCEPTIONS 1 SPRING-CORE 1

Tags

JAVA 22 OOP 5 THREAD-SAFETY 4 MEMORY-MANAGEMENT 3 JAVA-GENERICS 2 JAVA-STREAM 2 JAVA-STRING 2 OPERATORS 2 SEARCH 2 DATE 1 DATE-TIME 1 HEAP-POLLUTION 1 JAVA-14 1 JAVA-TIME-API 1
All Tags
DATE1 DATE-TIME1 HEAP-POLLUTION1 JAVA22 JAVA-141 JAVA-GENERICS2 JAVA-STREAM2 JAVA-STRING2 JAVA-TIME-API1 JUNIT1 MEMORY-MANAGEMENT3 OOP5 OPERATORS2 SEARCH2 SINGLETON1 SOFTWARE-ARCHITECTURE1 SORTING1 SPRING1 SYSTEM-DESIGN1 TESTING1 THREAD-SAFETY4
[A~Z][0~9]
Pedro Lopes

Copyright 2022-  PEDRO LOPES. All Rights Reserved

to-top