ORA·techORA·tech

Học nhanh · Phỏng vấn nhanh

Luyện phỏng vấn
Khám phá
  • Trang chủ
    • Tổng quan
    • Thư viện câu hỏi
    • Sprint phỏng vấn
    • Mô phỏng thực tế phỏng vấn
    • Ôn câu hỏi ghi nhớ
    • Bảng xếp hạng
    • Free vs Pro
  • Tool
  • Dev Document
  • AI
  • Góp ý
  • Generic Security
  • ISMS
ORA·tech
⌘K
Phỏng vấn 20'
Đăng nhập
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
anonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·techanonymous · 23:49 3/6/26 · ORA·tech
2026 ORA Team·Xây với ❤️ cho người học nhanh·Chính sách bảo mật·Điều khoản·phiên bản f5e8cbb6
Thư viện/Mobile/Android
Dễ#android

Phân biệt val và var trong Kotlin: Khi nào nên dùng loại nào?

15 tháng 2, 2026

Tóm tắt nhanh

`val` khai báo biến chỉ đọc (read-only), không thể gán lại tham chiếu sau khi khởi tạo; còn `var` là biến có thể gán lại (mutable). Luôn ưu tiên dùng `val` để tăng tính an toàn luồng (thread-safety) và hạn chế side-effect.

Hữu ích?Ghi nhớBáo cáo

Kiểm tra mức hiểu bằng 5 câu trắc nghiệm AI

AI tạo câu hỏi từ chính đáp án ở trên — đo xem bạn thực sự hiểu hay chỉ đọc lướt.

Đáp án mẫu

💡 Thử tự trả lời (hoặc làm bài trắc nghiệm phía trên) trước. Sau đó:

Flashcard giúp não chủ động hồi tưởng — nhớ lâu gấp 3-5 lần đọc passive.

Quay lại chủ đề