FA - JavaCore - Interview Question Bank
FA - JavaCore - Interview Question Bank
JAVA CORE
1. Các kiểu dữ liệu nguyên thủy:
Kiểu số nguyên: Integer Type – byte (1), short (2), int (4), long (8)
Kiểu só thập phân: Floating point – Float(4), Double(8)
Kiểu ký tự: Char, String
Kiểu logic: giá trị kiểu true false
2. Kiểu dữ liệu tham chiếu/đối tượng
3. Difference between int & INTEGER.
4. Autoboxing và Unboxing trong Java là gì?
5. Trong java có các loại Access Modifier nào? Phạm vi truy cập ra sao?
6. Could you describe about "Strong typed"?
- Check variables at compile time
- Weak typed: check variables at runtime (script languages such as: JavaScript,
PHP…).
7. What does "static" keyword mean?
- Class resources
- Used for method, attributes, inner class.
- Available for all objects.
8. Describe the principles of OOPs.
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism.
9. Explain about Polymorphism.
- One name many forms
- Override, overload methods.
- Increase flexibility.