1 -Using super keyword we can call
sub class constructor
super class constructor
child class object
none of these
2. Data can be passed to the function through
Call by value
call by reference
both of above
none of these
3. Which of the following loop will be execute at least once even if the condition is false
for loop
do-while loop
while loop
none of these
4. Which of the following loop will not execute at least once if the condition is false
for loop
do-while loop
while loop
none of these
5 Inheritance helps in
Reduce redundancy in code
speed up the program
Easy to read
none of these
6. the ++ operator postfix and prefix has the same effect
True
false
Sometime true & sometime false
none of these
7. x=10,y=5 what would be value of z after executing the following statement
if(x>=9&&y<=8)
z=x+y;
else
z=x-y;
15
5
13
none of these
8. Member of the structure are accessed by ----------- operator
address operator
dot operator
scope resolution op
none of these
9. constructor can be overloaded
true
false
in special cases
none of these
10 which of the following is not
the feature of object oriented programming
Data encapsulation
Inheritance
Operator overloading
data structure
Great Post. Very informative. Keep Sharing!!
ReplyDeleteJoin Online Java Classes
For more details about the course fee, duration, classes, certification, and placement call our expert at 70-70-90-50-90
Nice Blog, Thanks for sharing such a informative blog with us. keep sharing!!
ReplyDeleteAre you looking for free online java tutorial?
free java tutorial!
hello java programing
Good content. You write beautiful things.
ReplyDeletesportsbet
mrbahis
sportsbet
hacklink
mrbahis
vbet
vbet
taksi
hacklink
I have been following your blog since last few days and you have amazing posts. Your post contains informative and valuable content, it will be helpful. The content Java questions and answers were very informative. It helps people prepare for interviews. Thanks for sharing..
ReplyDeleteBest Java Course in Kolkata..
Thanks for providing this information, lovely
ReplyDeleteClass 7 Curriculum
Thanks , you are giving very important information.
ReplyDeleteOnline Classes
kocaeli
ReplyDeletekonya
kuşadası
kütahya
malatya
3İ7UP6
başakşehir
ReplyDeletebeykoz
gölcük
kütahya
bandırma
AFJ
Superb Post. Thanks for the blog.
ReplyDeleteJava training in Pune