What is the difference between dash and hyphen in java?

2 points
Asked by:

How can I validate those 2 characters in java?
How to write logic to compare those 2 characters.
What is the difference between them in ASCII code, are they the same?

0 answers
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.