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


) What class is the top of the AWT event hierarchy?



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

64) What class is the top of the AWT event hierarchy?
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.


65) When a thread is created and started, what is its initial
state?
A thread is in the ready state after it has been created and started.
66) Can an anonymous class be declared as implementing
an interface and extending a class?
An anonymous class may implement an interface or extend a superclass, but may not be
declared to do both.
67) What is the range of the short type?
The range of the short type is -(2^15) to 2^15 - 1.
68) What is the range of the char type?
The range of the char type is 0 to 2^16 - 1.
69) In which package are most of the AWT events that
support the event-delegation model defined?
Most of the AWT-related events of the event-delegation model are defined in the
java.awt.event package. The AWTEvent class is defined in the java.awt package.

Download 126,65 Kb.

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