• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

ITechOasis

Ease Your IT+Tech Experience !

  • Home
  • All Courses
  • Microsoft Excel
  • Webinar
You are here: Home / Programming / Java / Print ASCII Values in Java

January 14, 2019 By ITechOasis Leave a Comment

Print ASCII Values in Java

public static void main(String[] args) {

    // Print ASCII Values : 7 bytes = 128 Values = 0 to 127

    for (int i=0; i <=127;i++) {

        System.out.printf("%d = %c", i,i);
        System.out.println();

    }

}

Filed Under: Java

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published.

Primary Sidebar

Categories

Recent Posts

  • How to Find a Prime Number?
  • Labeled Break Statement – Java
  • Print ASCII Values in Java
  • Print ArmStrong Number – Java
  • Star Grid Patterns In Java

Recent Comments

  • torrent on How to reverse Integer? – Java
  • king on List of Popular ‘Software Testing’ SitesĀ 

Footer

  • About Us
  • Tech ++
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Services

Creative Commons License
ITechOasis.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

© Copyright 2015-2020 ITechOasis Training & Solutions · All Rights Reserved ·