filmov
tv
Vector and ArrayList Differences Java

Показать описание
Short Java Interview Question And Answer ?
1. Difference between Private , Public and Protected ?
Private - Not accessible outside object scope. Public - Accessible outside object scope. Protected - Becomes private when inherited.
2. What is role of Synchronization in Java ?
Managing exclusive access of the code block to single thread at a time to maintain its integrity.
3. What is Default Access ?
Accessible only by the objects in the same package.
4. Difference between Vector and ArrayList ?
Vectors are synchronized whereas Array lists are not synchronized.
5. Difference between class and objects ?
Class is a template using which objects are created in memory or instances of a class.
Vector and ArrayList Differences Java
A Job Portal
Are you looking for a new Job ?