Core Java Interview Questions 1 What is the difference between an Abstract class and Interface?



Download 126,65 Kb.
Pdf ko'rish
bet14/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   10   11   12   13   14   15   16   17   ...   55
Bog'liq
core java interview ques

21) What is a transient variable?
A transient variable is a variable that may not be serialized.
22) Which containers use a border Layout as their default
layout?
The window, Frame and Dialog classes use a border layout as their default layout.
23) Why do threads block on I/O?
Threads block on i/o (that is enters the waiting state) so that other threads may execute
while the i/o Operation is performed.
24) How are Observer and Observable used?
Objects that subclass the Observable class maintain a list of observers. When an Observable
object is updated it invokes the update() method of each of its observers to notify the


observers that it has changed state. The Observer interface is implemented by objects that
observe Observable objects.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   ...   55




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