RUVIDEO
Поделитесь видео 🙏

char Data Type in Java | Java char Data Type - Java Tutorial 14 смотреть онлайн

Notes for You:: char Data Type in Java.

Character:
- A symbol enclosed in between pair of single quotations is considered as a character in Java

Java supports both ASCII character set as well as Unicode character set.

ASCII character set:
- ASCII stands for American Standards Code for Information Interchange
- ASCII is a 7 bits character set
- Using ASCII character set we can represent maximum 128 characters
- Using ASCII character set we can represent characters available only in the English language
- ASCII character set has a unique number associated to each character in it

Unicode character set:
- Unicode stands for Universal code
- Unicode is a variable length character set (i.e. 8bits, 16bits or 32bits)
- Using Unicode character set we can represent almost all characters from almost all written languages present in the world
- Unicode character set has a unique code associated to each character in it

- To store and process characters; we take help of char data type
- char data type in Java is of 2 bytes (i.e. 16 bits); which is sufficient to store and process more than 65K+ characters

Syntax for declaring and initializing a character type variable:
char nameOfVariable = ’value’;
where
- value can be any symbol from the ASCII character set
- value can be any Unicode value from the Unicode character set

Example:
char ch = ’A’;
OR
char ch = ‘\u0041’;


Example Code:
package charactersdemo;

public class CharactersDemo
{
public static void main(String[] args)
{
// char ch = 'a';
// System.out.println("ch = " + ch); // ch = a

// char ch = (char) 97;
// System.out.println("ch = " + ch); // ch = a

// char ch = '\u0041';
// System.out.println("ch = " + ch); // ch = A

// char ch = '\u0042';
// System.out.println("ch = " + ch); // ch = B

// char ch = '\u0021';
// System.out.println("ch = " + ch); // ch = !

// char ch = '\u00A9';
// System.out.println("ch = " + ch); // ch = ©

// char ch = '\u263A';
// System.out.println("ch = " + ch); // ch = ☺

// char ch = '\u2665';
// System.out.println("ch = " + ch); // ch = heart symbol

// char ch = '♥';
// System.out.println("ch = " + ch); // ch = ♥

// char ch = '\u0905';
// System.out.println("ch = " + ch); // ch = hindi A character

// char ch = 'अ';
// System.out.println("ch = " + ch); // ch = अ

// char ch = '\u0909';
// System.out.println("ch = " + ch); // ch = hindi U character

char ch = 'उ';
System.out.println("ch = " + ch); // ch = उ
}
}

=========================================

Follow the link for next video:
Java Tutorial 15 - Strings in Java Programming Language | Java Strings Example
https://youtu.be/KM9UgYugsyg

Follow the link for previous video:
Java Tutorial 13 - Constants in Java Programming Language | Java Constants
https://youtu.be/qzmBbClw7KE

=========================================

Java Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_u63vtOQVdMoPVNalhE_xf3

=========================================
Watch My Other Useful Tutorials:-

C++ Tutorials Playlist:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_tVr76LjgBWBgSpQbCYn0tq

C# Tutorials Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_ucn3ZWwMwVuQwBJlZKaWQy

C Programming Tutorials Playlist:
- https://www.youtube.com/playlist?list=PLdE8ESr9Th_uJsptn5vJ9uRz63B7TagUM

C Practical LAB Exercises Playlist:-
https://www.youtube.com/playlist?list=PLdE8ESr9Th_t8RpyS4rlhNSjNNeVUAdwB

=========================================

Subscribe to our YouTube channel:-
https://www.youtube.com/chidrestechtutorials

Join as Member of our YouTube channel:-
https://www.youtube.com/chidrestechtutorials/join

Become our Patron:-
https://www.patreon.com/chidrestechtutorials

Visit our Website:-
https://www.chidrestechtutorials.com

Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstamojo.com

Buy our Products on Spring:-
https://chidres-tech-tutorials.creator-spring.com

=========================================
Follow Us:-

Google My Business:-
https://chidrestechtutorials.business.site

Google Blog:-
http://manjunathchidre.blogspot.com

LinkedIn:-
https://www.linkedin.com/company/chidrestechtutorials

Facebook:-
https://www.facebook.com/groups/chidrestechtutorials

Twitter:-
https://twitter.com/ManjunathChidre

Tumblr:-
https://chidrestechtutorials.tumblr.com

Pinterest:-
https://in.pinterest.com/chidrestechtutorials

=========================================

Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.

=========================================
Hash Tags:-
#ChidresTechTutorials #JAVA #JAVATutorial

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «char Data Type in Java | Java char Data Type - Java Tutorial 14» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.