What is Java?
Sunday, December 24, 2023
Saturday, December 23, 2023
Programming Basic
A basic programming course typically covers fundamental concepts and skills to provide students with a solid foundation in programming. The specific topics and programming languages may vary, but here's a general outline that can be adapted for various courses. This outline assumes a beginner level and is divided into different modules:
Module 1: Introduction to Programming
- Understanding what programming is
- Overview of different programming languages
- Introduction to the development environment (IDEs, text editors)
Module 2: Basic Concepts
- Variables and data types
- Operators and expressions
- Input and output
Module 3: Control Structures
- Conditional statements (if, else if, else)
- Looping structures (for, while, do-while)
- Switch statements
Module 4: Functions and Methods
- Declaring and defining functions
- Parameters and return values
- Scope and lifetime of variables
Module 5: Data Structures
- Arrays and lists
- Strings
- Introduction to data structures (stacks, queues)
Module 6: Object-Oriented Programming (OOP)
- Introduction to OOP
- Classes and objects
- Inheritance, encapsulation, and polymorphism
Module 7: Error Handling
- Understanding and handling exceptions
- Debugging techniques
Module 8: File Handling
- Reading and writing to files
- File input/output operations
Module 9: Introduction to Algorithms
- Basic algorithms and problem-solving strategies
- Algorithm complexity and efficiency
Module 10: Version Control
- Introduction to version control (e.g., Git)
- Basic Git commands and workflows
Module 11: Basic Web Development (Optional)
- Introduction to HTML, CSS, and JavaScript
- Building a simple web page
Module 12: Final Project
- Applying learned concepts to a small project
- Problem-solving and critical thinking
Assessment:
- Quizzes and assignments
- Midterm exam
- Final project assessment
Additional Considerations:
- Coding exercises and practice problems
- Code reviews and collaborative programming
- Guest lectures or industry talks (optional)
Keep in mind that the actual content and order of the modules may vary based on the programming language chosen for the course and the specific goals of the program. Additionally, adjusting the difficulty level based on the target audience and pacing the course appropriately is essential for effective learning.
#ChatGPT
Saturday, November 5, 2022
Java Edition
Java 8 to Java 17 Features
Java ဆိုတာဘာလဲ
Java ဆိုသည်မှာ computer software များ ရေးသားရာတွင် အသုံးပြုသည့် high level programming language တစ်မျိုးဖြစ်ပါသည်။ High level programming language အမြောက်အများ ရှိသည့် အနက် java သည် ယနေ့ ခေါတ်တွင်အသုံးအများဆုံး programing language တစ်ခု အဖြစ် ရပ်တည်လျက်ရှိပါသည်။
Programming basic with Java
Java Edition (as in Minecraft):
- If you're referring to Java Edition in the context of Minecraft, "Java Edition" is one of the editions of the game. It is the original and most feature-rich version, and it's written in Java.
Java SE (Standard Edition):
- If you're asking about Java SE (Standard Edition), it is a version of the Java programming language that is suitable for developing and deploying desktop applications, server applications, and embedded systems. It provides the core functionality of the Java platform.
Java EE (Enterprise Edition):
- If you're asking about Java EE (Enterprise Edition), it is a set of specifications extending Java SE with specifications for enterprise features such as distributed computing and web services.
Java ME (Micro Edition):
- If you're referring to Java ME (Micro Edition), it is a version of Java specifically designed for mobile and embedded devices.
#ChatGPT
Generic in Java
Lambda
Stream API
Collection
Java SE
- Core Java
Java EE
- JSP, JSF, Servlet
Framework
- Spring
- Struct
Sunday, October 23, 2022
Ubuntu Command အခြေခံ
Essential Ubuntu Basic Commands
Linux basic command များ အကြောင်းကို Ubuntu အသုံးပြုပြီး လေ့လာသွားမှာ ဖြစ်ပါတယ်။ ကျတော်ကိုယ်တိုင် Ubuntu 22.0.04 ကို စမ်းသုံးကြည့်ရင်းလေ့လာထားတာများကို noted down ချရေးထားသည်များကို မျှဝေထားတာဖြစ်ပါတယ်။
1. Open the Terminal (Shortcut Clrt+Alt+T)
Linux command များ ရိုက်ရန် terminal/prompt ဖွင့်ရန် application icon မှ တဆင့် search box မှ terminal လို့ ရိုက်ရှာ၍သြော် လည်းကောင်း သို့မဟုတ် shortcut အနေဖြင့် Ctrl+Alt+T နှိပ်၍ ဖွင့်နိုင်သည်။
Click the Terminal prompt to make sure the cursor starts to type some command.
အခြေခံ command များစတင်ရိုက်နိုင်ရန် cursor အား prompt ပေါ်တွင် ရောက်ရှိနေကြောင်းသေချာပါစေ။ သေချာစေရန် Terminal/prompt window အား click ၍ cursor အား focus လုပ်ပါ၊ cursor လေး blink ဖြစ်နေပါက commands များရိုက်ရန် အဆင့်သင့် ဖြစ်နေပါပြီ။
2. Very basic and first command
- whoami - check user name - လက်ရှိ အသုံးပြုနေသော user အားစစ်ဆေးရန်
- pwd - print working directory - ယခုရောက်ရှိနေသော folder path အား စစ်ဆေးရန်
- ls - list - folder ထဲရှိ file list ကို ပြသရန် output ထုတ်ရန်
- cd - change directory - folder လမ်းကြောင်းပြောင်းရန်
- cd .. - change directory to backward (upper level of current directory) - လက်ရှိနေရာမှ အပြင်ပြန်ထွက်ရန်
- cd home - change directory to home (your home directory in Linux system) - home directory သို့ ပြန်သွားရန်
- cd ~ - change directory to home (your home directory in Linux system) - home directory သို့ ပြန်သွားရန်
- cd / - root (very root level of your drive on Linus) - Linux file system ရဲ့ root directory သို့သွားရန်
3. Creating folder and file
3.1. Creating folder
- mkdir - make directory (eg. mkdir folder_name, mkdir dir1 dir2 dir3)
- mkdir dir1 dir2 dir3 (create multiple folder by one command)
- mkdir -p dir4/dir5 (create parent and sub folder by one command) note: -p mean parent
- -p character means operation or switch (-p is shortcut for parent short word)
- --parent --verbose ( can be type command like --(double hyphen) for long word)
- mkdir "another folder" - use " character to create folder name with space.
3.2. Creating files using redirection
- ls > output.txt
- cat output.txt
- echo
- echo "This is a test"
- echo "This is a test 1" > text1.txt
- echo "This is a test 2" > text2.txt
- echo "This is a test 3" > text3.txt
- cat
- cat text1.txt text2.txt text3.txt
- cat text?.txt
- cat text*.txt
- cat t* > combined.txt
- cat combined.txt
- cat t* >> combined.txt
- echo "I've appended a line" >> combined.txt
- cat combined.txt
- less combined.txt
- echo "Lower Case" > a.txt
- echo "Upper Case" > A.TXT
- echo "Mixed Case" > A.txt
4. Moving and Manipulating files
5. A bit of plumbing
6. The command lines and the superuser
7. Hidden files
8. Conclusion
Tuesday, September 27, 2022
Monday, September 12, 2022
Java Environment Setup and Installation on Ubuntu
Java Environment setup in Ubuntu
Install OpenJDK on Ubuntu
1. Update package and check JDK version
i. Package ကို update လုပ်ခြင်း
$ sudo apt update
ii. JDK version အား စစ် ေဆး ခြင်း
Ubuntu တွင် jdk install လုပ်ထားချင်းရှိမရှိ စစ်စေးရန် Terminal အားဖွင့်ကာ အောက်ပါ command ဖြင့်စစ်စေးပါ။
$ java -version
2. Install Java JRE/JDKs
i. Default JDK ကို install လုပ်ရန် အောက်ပါ command များဖြင့် run ပါ။ အချိန်ကာလပေါ်မူတည်၍ jdk version များ အပြောင်းအလဲရှိနိုင်သည်။
$ sudo apt install default-jre # version 2:1.17-74, or
$ sudo apt install openjdk-17-jre-headless # version 17.0.9~6ea-1
$ sudo apt install openjdk-11-jre-headless # version 11.0.20+8-1ubuntu1
$ sudo apt install openjdk-19-jre-headless # version 19.0.2+7-4
$ sudo apt install openjdk-20-jre-headless # version 20.0.2+9-1
$ sudo apt install openjdk-21-jre-headless # version 21+35-1
$ sudo apt install openjdk-22-jre-headless # version 22~16ea-1
$ sudo apt install openjdk-8-jre-headless # version 8u382-ga-1ubuntu1
tun-myat@tun-myat-ThinkPad-X1-Carbon-6th:~$
$ sudo apt install default-jdk
3. Manage JDKs/JREs Version
i. Default JDK version အား အောက်ပါ command ဖြင့် ပြင်ဆင်သတ်မှတ်နိုင်သည်။
$ sudo update-alternatives --config java
ii. Default JDK version အား selection number အား ရိုက်ထည်၍ ပြောင်းလဲသတ်မှတ်နိုင်သည်။ ထိုနောက် java version အားပြန်လည် စစ်ဆေးပါ။ မိမိရွေးချယ်ထားသော jdk version တွင် * ဖြင့် ဖော်ပြနေလိမ့်မည်။
3. Setting the JAVA_HOME environment variable
i. Install လုပ်ထားသော JDK versions များ ကို စစ်ဆေးရန် အထက်တွင် အသုံးပြုခဲ့သော့ command ဖြင့် ပြန်လည်စစ်ဆေးပေးပါ။
$ sudo update-alternatives --config java
ii.
Install IDE
- Eclipse
- VS Code
- Sublime Text
Install Database
- MySQL
- PostgreSQL
Install DevOps Tools
Monday, September 5, 2022
About Blog
ဒီ Blog ကို ပြုလုပ်ရသော ရည်ရွယ်ချက်မှာ programming ကို လေ့လာသူများ စိတ်ဝင်စားသူများ အနေဖြင့် တချို့သောသိသင့်သိထိုက်သည့် အရာများကို လွယ်လင့်တကူ တိုတိုရှင်းရှင်းဖြင့် မြန်မာလို သိရှိနိုင်စေရန် ကျွန်ုပ်ကိုယ်တိုင် သေချာမသိသေးသော အရာများကို လေ့လာမှတ်သားရင်းဖြင့် ဝါသနာတူသူများ အား ဝေမျှလိုသော ရည်ရွယ်ဖြင့် ဤ blog ကို ရေးသားခြင်းဖြစ်သည်။
ကျွန်တော် ကိုယ်တိုင် တချို့သော မသိသေးသည့် အရာများကိုလေ့လာရင်း ပြန်လည်ဝေငှချင်းသာ ဖြစ်သောကြောင့် မပြည်စုံခြင်း လွှဲမှားခြင်းများ ရှိပါက မှတ်ချက်ပေး၍ ဝေဖန် အကြံပြုနိုင်ပါသည်။
FinTech
"FinTech" is a term that combines "financial" and "technology" and refers to the use of technology to provide...
-
The history of Java The history of Java dates back to the early 1990s, and it has undergone significant developments since its inception. He...
-
Oracle JDKs vs Open JDKs ChatGPT Oracle JDK (Java Development Kit) and OpenJDK (Open Java Development Kit) are two different implementations...
-
Distributed computing refers to the use of multiple interconnected computers or nodes working together to solve a computational problem or p...
