ប្រភេទទិន្នន័យជាតួអក្សរ char data type នៅក្នុង Primitive Data Types in Java Part 7.5

Published on ● Video Link: https://www.youtube.com/watch?v=4z3TmALDerA



Category:
Tutorial
Duration: 54:14
85 views
9


#រៀនសរសេរកូដជាមួយចិត្រា #javaprogramming #javabasics #codingwithchitra #sololearncoding #ប្រភេទទិន្នន័យជា char (តួអក្សរ) #chardatatypeinjava
JAVA ថ្នាក់ទី១ | JAVA For Beginner
ប្រភេទទិន្នន័យជា char (តួអក្សរ)

ប្រភេទទិន្នន័យជា char មានទំហំផ្ទុកក្នុង Memory 16-bit(2 Byte) ដែលមានតែ១តួអក្សរគត់ជា Unicode
តម្លៃតូចបំផុត ‘\u0000’ (or 0)
តម្លៃធំបំផុត ‘\uffff’ (65, 535)
តម្លៃដើមរបស់វាគឺ ‘\u0000’ ហើយវាមើលមិនឃើញនោះទេ
យើងអាចផ្តល់តម្លៃអោយវាតាមរយ:២របៀបគឺ​ ប្រើតអក្សរ(character) ឫក៏​ប្រើប្រាស់ Unicode Escape Sequences
ការប្រើប្រាស់ Wrapper Class: Character
ឧទាហរណ៍
char f = ‘\u1780’; // \u+ លេខ៤ខ្ទង់នៃ Hexadecimal(0-9,A-F)
char b = ‘ក’;
char c = ‘A’;
String unicodeEscape = String.format("\\u%04x", (int) b);

Exercise: Simple Character Operations in Java
Objective: Create a straightforward Java program that allows users to explore basic operations on characters. This exercise aims to familiarize learners with character-related functionalities in Java.
Requirements:
1) Input:
Prompt the user to enter a single character (userChar).
Utilize the Scanner class for user input.
2) Character Operations:
Check if the character is a letter (uppercase or lowercase).
Check if the character is a digit.
Convert the character to its uppercase form.
Convert the character to its lowercase form.
Convert the character to unicode escape
Display the ASCII value of the character.
Check if the character is a vowel.
3) Example Output: SimpleCharacterOperations.java

Ref:
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
https://www.javatpoint.com/java-data-types
https://www.tutorialspoint.com/java/java_basic_datatypes.htm
https://en.wikipedia.org/wiki/List_of_Unicode_characters
រៀបរៀងដោយ សរសេរកូដជាមួយចិត្រា @codingwithchitra

កម្រងវីដេអូមេរៀន|Play List 👉 https://youtube.com/playlist?list=PLSJTJj3gU6qhkjSEUmgBKGJnn0ob1NZSu&si=rcvL8CwF_5EGx_2n

YouTube Channel 👉 https://www.youtube.com/@codingwithchitra
Facebook Page 👉 https://www.facebook.com/khmshared
Telegram Channel 👉 https://t.me/codingwithchitra




Other Videos By Coding with Chitra-សរសេរកូដជាមួយចិត្រា


2024-04-18Part 04-Python - Indentation | Coding Python from 0 to Hero
2024-04-13#music #love #travel #cambodia #cambodianewyear #songkran #songkran2024 #songkranfestival #viralvlog
2024-04-11Part 03-Python - Environment Setup | Coding Python from 0 to Hero
2024-04-10The arithmetic & Assignment Operators in Java Part 9.1 - JAVA ថ្នាក់ទី១ | JAVA For Beginner
2024-04-03Part 02-ការណែនាំអំពី ភាសា Python | Introduction to Python | Coding Python from 0 to Hero
2024-04-02Type Casting in Java Part 8 - JAVA ថ្នាក់ទី១ | JAVA For Beginner
2024-04-01Part 01-ការណែនាំអំពី សរសេរកូដ Python ពីចំណុច ០ ទៅជាវិរៈបុរស | Coding Python from 0 to Hero
2024-03-30Coding Python from Zero to Hero with Chitra - coding Song
2024-03-25ដំណើរ​កម្សាន្ត​ទៅ​កាន់​កោះ​រ៉ុង​ #kohrong #relaxing #enjoylife #enjoyment #enjoytime #travelvlog
2024-03-14Tech Talk 001-How to use AI to create images
2024-03-13ប្រភេទទិន្នន័យជាតួអក្សរ char data type នៅក្នុង Primitive Data Types in Java Part 7.5
2024-03-12#javabasics #javaprogramming #codingwithchitra #coding #sololearncoding #codinglife #javatutorial
2024-03-12#javabasics #javaprogramming #codingwithchitra #codinglife #javatutorial #java #javaforbeginner
2024-03-11កំណែលំហាត់ 6.5.1 -​ Managing Students ក្នុងមេរៀន ប្រភេទអញ្ញាតជា Static/Class Variables
2024-03-09ប្រភេទទិន្នន័យជា boolean data type នៅក្នុង Primitive Data Types in Java Part 7.4
2024-03-08#youtube #shorts #javabasics #javaprogramming #codingwithchitra #coding #javatutorial #codinglife
2024-03-08កំណែលំហាត 6.4.1 - បង្កើត BankAccount class នោក្នុងមេរៀន Instance Variables
2024-03-07ប្រភេទទិន្នន័យជា លេខគត់ float and double data type នៅក្នុង Primitive Data Types in Java Part 7.3
2024-03-05ប្រភេទទិន្នន័យជា លេខគត់ byte, short, int long នៅក្នុង Primitive Data Types in Java Part 7.2
2024-03-03រៀន​ចប់​ថ្នាក់​ Java? #javabasics #javaprogramming #coding #codingwithchitra #javatutorial
2024-03-01Feedback from my free Java class. #javabasics #codinglife #javatutorial #javaforbeginner #chitra



Tags:
java
javaforbeginner
coding with chitra
សរសេរកូដជាមួយចិត្រា
java for beginners
java tutorial for beginners
java programming for beginners
beginners
java training
java course
java programming
java 8 course
java tutorial
java 8 tutorial
java 8
java 8 tutorial with examples
java 12
java programming tutorial
learn to code
learn java
tutorial
programming
រៀនសរសេរកូដ
រៀនចាវ៉ា
core java
core java programming
codecademy
codekhmer
codecademy java
sololearn coding