Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
35 lines (27 loc) · 809 Bytes

File metadata and controls

35 lines (27 loc) · 809 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Lowercase letters.
public class LowCase {
public static void main(String[] args) {
// TODO Auto-generated method stub
char ch;
for (int i = 0; i < 10; i++) {
ch = (char) ('A' + i);
System.out.print(ch);
// This statement turns on the 6th bit.
ch = (char) (ch | 32); // ch is now lowercase.
/** Binary Octal-decimal Decimal Hexadecimal Glyph
* 100 0001 101 65 41 A
* 110 0001 141 97 61 a
*
* https://en.wikipedia.org/wiki/ASCII#Printable_characters
*
*
* 0000 0000 0100 0001
* 0000 0000 0010 0000 or
* -----------------------
* 0000 0000 0110 0001
*
* */
System.out.print(ch + " ");
}
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.