 So in my last video I was introducing this idea of Chars being single characters And I'd given the instruction of char degrees equals the degree symbol And if you were kind of playing at home for a second, you may have scratched your head and went Hold on, hold on, whoa, whoa, whoa, whoa, whoa, whoa, whoa, whoa There's no degree symbol on the keyboard, Mr. Guida. What are you doing? You are terrible well, okay, I Respect your opinion, but how do I make the degree symbol all of a sudden? So we clearly cannot do it like this, so How do we tackle this problem? Well, one of the things that we introduced in the last lecture was something again called escape Characters, which are those characters that are not on the keyboard or they're not Easily identifiable, so say for example the tab or something called the new line. That's actually what happens when we type We hit the inner key If I wanted to represent tab, I would do a single quote that Slash Lowercase t that would separate it if I want to actually put in new lines I want to have I want to treat it like things are appearing on a new line each time It's the same concept I go Single quote slash Lowercase in and as you can guess that'll let me put it on another line But getting back to degrees, you know, I'm not I'm not skirting that issue guys. I promise you But one of the things that we're allowed to do in Java is something called Unicode and Once upon a time you probably learned in your original computer classes something known as ASCII ASCII allows me to take any single binary number any binary number Converted into its decimal notation and guess what then switch that to what it means In kind of a human world well as you can kind of guess ASCII only because it was eight bits not very useful. It can only store 256 possible characters Again, the degree symbol is not one of those characters. So we're kind of SOL That's where Unicode came in Unicode basically said well, we're gonna take all of ASCII. We're gonna eat it up We're gonna assimilate it in but we're also going to start to include some of those more Complex symbols like the degree symbol or for anyone in Spanish-speaking countries E's and A's with the accent on them, you know, those are kind of important As you can imagine. So how do I get all of these different types of characters to display? Well, we do the same kind of thing and I'll even come up here again We do the same kind of thing we start with our slashes or our our single quotations and then slash and Just like we would do here when we did a slash T and a slash N for tab and new line to say I'm going to put a Unicode character into my char. I do a lowercase U Now for the degree symbol, it's relatively simple. What we're actually looking at is 0 0 Be 0 the hexadecimal notation of our Unicode character But how do I find out what all the Unicode characters are? One of the ones I'm looking for isn't readily available Well, one of the things that we can do is we can Unicode Table and there's tons of them readily available to us. So we can look for them say for example I want to look for the degree symbol degrees We've got a few of them. We keep on doing it. You can already see look at that 0 0 B if you can't just to move it over 0 0 B that's what we would type in so it can go for anything so E with accent I Think that might work. There we are. All right capital E with the grave 0 0 C8 So we're able to kind of take all of these and then apply them So now let's again. Oh like always take this and put it into practice I've already kind of pre-built it for us. That's how I knew the degree symbol off the top of my head. I know so smooth But we've got that char degrees It's stored up there and then I have a simple little print statement saying it is 50 degrees Fahrenheit outside So if I take this and I compile it up We see we get no errors We run this and notice what it says it is 50 the degree symbol. That's the big guy right there right there Outside so these char data types using Unicode we can start to represent more complex sentences