Click here to Skip to main content
15,886,110 members
Home / Discussions / Java
   

Java

 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India7-Mar-22 15:04
Sudhanshu_India7-Mar-22 15:04 
GeneralRe: WhiteSpace Character Pin
Victor Nijegorodov7-Mar-22 20:12
Victor Nijegorodov7-Mar-22 20:12 
GeneralRe: WhiteSpace Character Pin
Richard MacCutchan7-Mar-22 21:16
mveRichard MacCutchan7-Mar-22 21:16 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India8-Mar-22 3:45
Sudhanshu_India8-Mar-22 3:45 
GeneralRe: WhiteSpace Character Pin
Dave Kreskowiak8-Mar-22 4:47
mveDave Kreskowiak8-Mar-22 4:47 
GeneralRe: WhiteSpace Character Pin
Sudhanshu_India8-Mar-22 14:54
Sudhanshu_India8-Mar-22 14:54 
GeneralRe: WhiteSpace Character Pin
Victor Nijegorodov8-Mar-22 4:55
Victor Nijegorodov8-Mar-22 4:55 
GeneralRe: WhiteSpace Character Pin
Craig Robbins8-Mar-22 5:01
Craig Robbins8-Mar-22 5:01 
You can think about what the printer does when it receives each byte. If the value for the byte is to "tab" then no ink is put on the page - hence whitespace. Instead the printer jumps ahead to the next tab position. The tab is an instruction to the printer where to be ready to print next. New Page, New Line, Backspace all are like this too.

If the value is for the letter "A" then this puts ink on the page -- hence it is not whitespace. The "space" character is kind of special in that it prints a "blank" -- the printer's position on the page moves ahead by one character just as if it printed an "A", but of course no ink is put on the page.

Your display can be thought of in the same way as the printer for this discussion.
QuestionJava Pin
GJ AVAIYA5-Mar-22 7:51
GJ AVAIYA5-Mar-22 7:51 
AnswerRe: Java Pin
Dave Kreskowiak5-Mar-22 10:29
mveDave Kreskowiak5-Mar-22 10:29 
AnswerRe: Java Pin
Richard MacCutchan5-Mar-22 21:17
mveRichard MacCutchan5-Mar-22 21:17 
QuestionJAVA_REGEX_WHITESPACE _CHARACTER Pin
Sudhanshu_India1-Mar-22 15:01
Sudhanshu_India1-Mar-22 15:01 
AnswerRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Richard Deeming1-Mar-22 21:38
mveRichard Deeming1-Mar-22 21:38 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Sudhanshu_India2-Mar-22 0:43
Sudhanshu_India2-Mar-22 0:43 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Richard Deeming2-Mar-22 2:06
mveRichard Deeming2-Mar-22 2:06 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Sudhanshu_India2-Mar-22 14:28
Sudhanshu_India2-Mar-22 14:28 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Richard MacCutchan2-Mar-22 21:39
mveRichard MacCutchan2-Mar-22 21:39 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Sudhanshu_India3-Mar-22 4:23
Sudhanshu_India3-Mar-22 4:23 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
RedDk3-Mar-22 16:54
RedDk3-Mar-22 16:54 
GeneralRe: JAVA_REGEX_WHITESPACE _CHARACTER Pin
Richard Deeming3-Mar-22 21:25
mveRichard Deeming3-Mar-22 21:25 
GeneralDynamic Polymorphism Pin
Sudhanshu_India24-Feb-22 2:38
Sudhanshu_India24-Feb-22 2:38 
QuestionRe: Dynamic Polymorphism Pin
Richard MacCutchan24-Feb-22 3:27
mveRichard MacCutchan24-Feb-22 3:27 
AnswerRe: Dynamic Polymorphism Pin
Sudhanshu_India24-Feb-22 4:26
Sudhanshu_India24-Feb-22 4:26 
GeneralRe: Dynamic Polymorphism Pin
Richard MacCutchan24-Feb-22 4:56
mveRichard MacCutchan24-Feb-22 4:56 
GeneralRe: Dynamic Polymorphism Pin
Sudhanshu_India25-Feb-22 0:42
Sudhanshu_India25-Feb-22 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.