Java Character Comparison - Comparing char Variables by Example - Java Programming Tutorial

Published: 04 October 2017
on channel: Appficial
9,054
74

You can compare char variables (characters) with relational operators

Characters are stored in memory using the Unicode character format
Unicode is stored as a sixteen (16) bit number.

Characters are ordinal, meaning they have an order in the Unicode character set and can be compared to each other

Please SUBSCRIBE, and check out more Java Programming Tutorials!

Java if else Statements
   • Java if else Statements - Branching Struct...  

Java Relational Operators
   • Java Relational Operators for Boolean Expr...  

Java Multi-branch if-else-if Statement
   • Java Multi-branch if-else-if Statement - D...  

Java Nested if-else Statements
   • Java Nested if-else Statements by Example ...  

Java Distinct If Statements
   • Java Distinct If Statements by Example - E...  

Java Logical Operators
   • Java Logical Operators - AND && - OR || - ...  

Java Short Circuit Evaluation
   • Java Short Circuit Evaluation - Lazy Evalu...  

Java Switch Statement
   • Java Switch Statement - Branching Structur...  

Java Precedence Rules for Logical and Relational Operators
   • Java Precedence Rules for Logical and Rela...  

Java Boolean Data Type
   • Java Boolean Data Type by Example - TRUE o...  

Java String Comparison Methods
   • Java String Comparison Methods - equals eq...  

String Access Methods
   • Java String Access Methods - length charAt...  

String Modifier Methods
   • Java String Modifier Methods - toUpperCase...  

The Conditional Expression
   • Java Conditional Expression - The Ternary ...  

Floating-point Comparison
   • Java Floating-Point Comparison - double / ...  

Character Comparison
   • Java Character Comparison - Comparing char...  

System.out.printf() method
   • Java printf Method - Displaying data using...  

Displaying Currency in Java
   • Displaying Currency in Java using printf a...  

Variable Scope
   • Variable Scope in a Java Program by Exampl...  


On this page of the site you can watch the video online Java Character Comparison - Comparing char Variables by Example - Java Programming Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Appficial 04 October 2017, share the link with friends and acquaintances, this video has already been watched 9,054 times on youtube and it was liked by 74 viewers. Enjoy your viewing!