Community driven content discussing all aspects of software development from DevOps to design patterns. In this Java serialization example, we will use both the ObjectOutputStream and the ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
A Java string is a sequence of characters that exists as an object of the class java.lang. Java strings are created and manipulated through the string class. Once created, a string is immutable -- its ...
Learn about serialization in Java with our comprehensive tutorial. We provide examples to help you understand how serialization works and how to use it. Serialization is a fundamental concept in Java ...
Error handling, also called exception handling, is a big part of Java, but it’s also one of the more divisive elements. Exception handling allows a developer to ...
Java has not become as pervasive as the original hype suggested, but it is a popular language, used a lot for in-house and server-side development and other applications. Java has less mind-share in ...
Android development starts with the Android SDK (Software Development Kit). While there are many different programming languages and a host of IDEs (Integrated Development Environments) you can use to ...
The two most common transport layer protocols are the transmission control protocol (TCP) and the user datagram protocol (UDP). One of the main differences between the two protocols is reliability.
Learn how to use statements like if, if-else, switch, for, and while to declare variables and specify expressions, make decisions, iterate over statements, and more. Java applications evaluate ...
You might know that Java passes by value, but it helps to understand why. Here's what happens when you pass mutable and immutable object references in Java. Many programming languages allow passing ...