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


) What modifiers may be used with an interface



Download 126,65 Kb.
Pdf ko'rish
bet36/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   32   33   34   35   36   37   38   39   ...   55
Bog'liq
core java interview ques

131) What modifiers may be used with an interface
declaration?
An interface may be declared as public or abstract.
132) Is a class a subclass of itself?
A class is a subclass of itself.
133) What is the highest-level event class of the event-
delegation model?
The java.util.EventObject class is the highest-level class in the event-delegation class
hierarchy.
134) What event results from the clicking of a button?
The ActionEvent event is generated as the result of the clicking of a button.
135) How can a GUI component handle its own events?
A component can handle its own events by implementing the required event-listener
interface and adding itself as its own event listener.
136) What is the difference between a while statement
and a do statement?
A while statement checks at the beginning of a loop to see whether the next loop iteration
should occur. A do statement checks at the end of a loop to see whether the next iteration
of a loop should occur. The do statement will always execute the body of a loop at least
once.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   32   33   34   35   36   37   38   39   ...   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