Newly Joined Members subscribe to our channel to learn programming and crack written exams.
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
π1
Anyone looking for core Java classes online, Paid?
π3π1
π1
Anonymous Quiz
10%
char
23%
boolean
62%
String
5%
float
π4β€1π1
Forwarded from TechShiksha by Badkul Technology (admin)
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
π1
We are looking for someone, who can help us creating ppts and edit videos. If you are interested please reply to this message.
Anonymous Quiz
9%
No
88%
Yes
2%
I don't know ???
π8β€3π2π2
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
https://www.youtube.com/c/frbjava
Discuss doubts in @tcs_infosys_accenture
Which of these method waits for the thread to terminate?
Anonymous Quiz
28%
stop
13%
join
10%
alive
31%
wait
18%
sleep
π3π3π₯°1
ArrayList list = new ArrayList(); list.add("A"); list.ensureCapacity(3); System.out.println(list.size());
Anonymous Quiz
17%
0
26%
1
46%
3
10%
2
π2
What is the default value of a local variable in Java?
Anonymous Quiz
32%
0
43%
null
18%
undefined
7%
not set
π8π2π1
Which of these keywords can be used to prevent inheritance of a class ?
Anonymous Quiz
46%
final
11%
constant
30%
super
5%
stop
8%
class
π3π1
π9π1
π3π₯°1
previous quiz has been deleted, as wrong option was marked as correct.
Correct answer was Equal
Correct answer was Equal
What is the purpose of a default constructor in Java?
Anonymous Quiz
35%
To provide a default value for an object
40%
To initialize instance variables with default values
20%
To call another constructor within the same class
5%
None of the above
π3
what are static blocks and static initalizers in Java ?
answer : Static blocks or static initializers are used to initalize static fields in java. we declare static blocks when we
want to intialize static fields in our class. Static blocks gets executed exactly once when the class is loaded
. Static blocks are executed even before the constructors are executed.
answer : Static blocks or static initializers are used to initalize static fields in java. we declare static blocks when we
want to intialize static fields in our class. Static blocks gets executed exactly once when the class is loaded
. Static blocks are executed even before the constructors are executed.
π8