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


) When a thread blocks on I/O, what state does it



Download 126,65 Kb.
Pdf ko'rish
bet23/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   19   20   21   22   23   24   25   26   ...   55
Bog'liq
core java interview ques

59) When a thread blocks on I/O, what state does it
enter?
A thread enters the waiting state when it blocks on I/O.
60) To what value is a variable of the String type
automatically initialized?
The default value of an String type is null.
61) What is the catch or declare rule for method
declarations?
If a checked exception may be thrown within the body of a method, the method must either
catch the exception or declare it in its throws clause.
62) What is the difference between a MenuItem and a
CheckboxMenuItem?
The CheckboxMenuItem class extends the MenuItem class to support a menu item that may
be checked or unchecked.
63) What is a task's priority and how is it used in
scheduling?
A task's priority is an integer value that identifies the relative order in which it should be
executed with respect to other tasks. The scheduler attempts to schedule higher priority
tasks before lower priority tasks.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   19   20   21   22   23   24   25   26   ...   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