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


) When does the compiler supply a default constructor



Download 126,65 Kb.
Pdf ko'rish
bet40/55
Sana01.02.2022
Hajmi126,65 Kb.
#421305
1   ...   36   37   38   39   40   41   42   43   ...   55
Bog'liq
core java interview ques

147) When does the compiler supply a default constructor
for a class?
The compiler supplies a default constructor for a class if no other constructors are provided.
148) When is the finally clause of a try-catch-finally
statement executed?
The finally clause of the try-catch-finally statement is always executed unless the thread of
execution terminates or an exception occurs within the execution of the finally clause.
149) Which class is the immediate superclass of the
Container class?
Component
150) If a method is declared as protected, where may the
method be accessed?
A protected method may only be accessed by classes or interfaces of the same package or
by subclasses of the class in which it is declared.
151) How can the Checkbox class be used to create a radio
button?
By associating Checkbox objects with a CheckboxGroup.

Download 126,65 Kb.

Do'stlaringiz bilan baham:
1   ...   36   37   38   39   40   41   42   43   ...   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