You may assign '\u0000'
(or 0).
For this purpose, use Character.MIN_VALUE
.
Character ch = Character.MIN_VALUE;
More Related Contents:
- How do i find the first un-escaped quotes in Java?
- What is the Java ?: operator called and what does it do?
- How to get a resource id with a known resource name?
- Get nested JSON object with GSON using retrofit
- Difference between paint, paintComponent and paintComponents in Swing
- How to convert a Map to List in Java?
- Why does Java have an “unreachable statement” compiler error?
- Why to use SwingUtilities.invokeLater in main method?
- How to set specific Java version to Maven?
- Why does parallel stream with lambda in static initializer cause a deadlock?
- Explicit type casting example in Java
- Java JTree directory structure from file paths
- Netbeans – Error: Could not find or load main class
- Difference between paint() and paintcomponent()?
- TableCellRenderer and how to refresh Cell background without using JTable.repaint()
- How to get current Location in GoogleMap using FusedLocationProviderClient
- Java byte array contains negative numbers
- How to delete a folder with files using Java
- Spring-Data FETCH JOIN with Paging is not working
- Can we call a static method with a null object in Java? If so, how?
- debug java program step by step in Eclipse
- How to override DNS in HTTP connections in Java
- Maven adding mainClass in pom.xml with the right folder path
- java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
- How can I access a private constructor of a class?
- Java getHours(), getMinutes() and getSeconds()
- Fastest way of finding the middle value of a triple?
- java daemon thread and non-daemon thread
- IntelliJ GUI Designer Maven Executable JAR Export
- RESTEasy: Could not find writer for content-type application/json type