Topics
Java Char
About this topic: Articles tagged __TAG__
Showing 22 articlesRelated tags
Topics
Articles
Showing 22 articles
How-tos
How to Convert a String to Char in Java
This article explores various methods to convert a String to a char in Java, including the use of charAt(), toCharArray(), and getBytes(). With clear code examples and detailed …
↗
How-tos
How to Convert a Char to a String in Java
This article explores how to convert a char to a String in Java, detailing various methods like String.valueOf(), Character.toString(), string concatenation, and the String …
↗
How-tos
How to Convert Char to Int in Java
This article provides a comprehensive guide on how to convert char to int in Java. Explore various methods including type casting and using Character.getNumericValue. Clear …
↗
How-tos
How to Get a Char From the Input in Java
This article explains how to get a character from user input in Java. Explore methods like Scanner, BufferedReader, and Console class to effectively capture character input in your …
↗
How-tos
How to Check if a Character Is Alphanumeric in Java
Learn how to check if a character is alphanumeric in Java using Character.isLetterOrDigit(), ASCII values, Character.isLetter() & Character.isDigit(), and regex. Explore multiple …
↗
How-tos
How to Count Characters in a String in Java
This article shows the different methods to count the characters in a string in Java.
↗
How-tos
How to Convert Character to ASCII Numeric Value in Java
This article introduces the conversion of a character to ASCII numeric value in Java with various methods and examples.
↗
How-tos
How to Remove a Character From String in Java
This tutorial demonstrates how to remove a single character from string in Java
↗
How-tos
How to Convert an ASCII Code to Char
This article shows methods of how to convert an ASCII Code to its equivalent character.
↗
How-tos
How to Replace Character in String at Index in Java
This article shows the methods to replace a character in a string at index in Java
↗
How-tos
How to Get the Last Character of a String in Java
It teaches about the few ways to get the last character of a string in Java
↗
How-tos
How to Add Char to String in Java
This tutorial talks about the methods that can be used to add a char to a string in Java
↗
How-tos
How to Replace Character in String in Java
This article introduces methods of replacing character in a String in Java
↗
How-tos
How to Iterate Over Characters of String in Java
This tutorial teaches how to apply the for-each loop to every character in a string.
↗
How-tos
How to Generate Random Character in Java
This tutorial introduces how to generate a random character in Java.
↗
How-tos
How to Compare Characters in Java
This article introduces how to compare characters in Java
↗
How-tos
How to Convert Char to Uppercase/Lowercase in Java
It explains the methods to convert a character to uppercase or lowercase in Java
↗
How-tos
How to Represent Empty Char in Java
This article introduces how to handle empty char in Java.
↗
How-tos
How to Initialize Char in Java
This article introduces how to initialize char in Java.
↗
How-tos
How to Convert Int to Char in Java
This tutorial shows how to convert int to char in Java with methods like using ASCII values, character.forDigits, and Integer.toString.
↗
How-tos
The Char equals Method in Java
This tutorial introduces how to check whether two chars are equal or not in Java.
↗
How-tos
Char vs String in Java
This article introduces the difference between char and String in Java.
↗
No articles found
Try clearing the filters.