Java Core Class (Type, File)


StringBuffer, StringBuilder, String



Download 24,79 Kb.
bet7/13
Sana31.12.2021
Hajmi24,79 Kb.
#273682
1   2   3   4   5   6   7   8   9   10   ...   13
Bog'liq
Вопросы

15. StringBuffer, StringBuilder, String

1. What is String in java.

2. Ways to create a string.

3. Benefits of strings are immutable?

4. String constant pool.

5. StringBuilder important details.

6. StringBuilder vs String.

7. StringBuffer important details.

8. StringBuilder vs StringBuffer.

9. Best practice to choose between String, StringBuilder and StringBuffer.



16. Equals/hashCode contract

1. Default behavior of equals and hashCode methods.

2. HashCode method overriding rules.

3. Equals method overriding rules.

4. A contract between Equals and hashCode methods.

5. Why methods connected to each other? Describe result of scenarios when one of them is overridden but the other not: side effects.

6. Difference between ‘==’ and equals.

7. Collections and equals/hashCode dependencies, best practice.




Download 24,79 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   13




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish