What is the purpose of the condition in a for loop?
Anonymous Quiz
17%
To define the loop body
20%
To calculate the loop increment
7%
To handle exceptions
57%
To control the loop iterations
can we pass functions as argument in another function in java ?
Anonymous Quiz
62%
yes from always java allows it
15%
no
23%
yes post java 8 we can
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
Like this post if you have already subscribed to our channel
Click on below link to subscribe
https://bit.ly/3NLjOpW
Discuss doubts in @javaforfree
Like this post if you have already subscribed to our channel
Click on below link to subscribe
https://bit.ly/3NLjOpW
Discuss doubts in @javaforfree
π1
What is the time complexity to count the number of elements in the linked list?
Anonymous Quiz
42%
o(n)
21%
o(1)
25%
o(logn)
13%
o(nlogn)
π7β€2
We have been getting many requests for internship program
Under our internship program, we have two distinct tracks.
The first track focuses on creating innovative content for Java training, with the main objective being to enhance Java programming skills. This track requires a commitment of at least 9 hours per week, comprising 1 hour on weekdays and 2 hours on weekends.
The second track involves developing a product to facilitate faster and easier automation testing. Prior knowledge of Java is essential for this track, and it requires a dedication of at least 18 hours per week, with 2 hours on weekdays and 4 hours on weekends.
This internship is unpaid, you will be given an internship certificate on successful completion.
If interested send your resume to @frbjavaadmin.
We will conduct interviews tomorrow.
Under our internship program, we have two distinct tracks.
The first track focuses on creating innovative content for Java training, with the main objective being to enhance Java programming skills. This track requires a commitment of at least 9 hours per week, comprising 1 hour on weekdays and 2 hours on weekends.
The second track involves developing a product to facilitate faster and easier automation testing. Prior knowledge of Java is essential for this track, and it requires a dedication of at least 18 hours per week, with 2 hours on weekdays and 4 hours on weekends.
This internship is unpaid, you will be given an internship certificate on successful completion.
If interested send your resume to @frbjavaadmin.
We will conduct interviews tomorrow.
Which of these methods deletes all the elements from invoking collection?
Anonymous Quiz
52%
clear
16%
reset
30%
delete
3%
refresh
β€4
Which keyword is used to exit a loop prematurely?
Anonymous Quiz
72%
break
8%
continue
18%
exit
3%
revert
π₯3
What happens if the loop condition of a for loop is never true?
Anonymous Quiz
47%
The loop body is skipped entirely
31%
An infinite loop occurs
17%
An exception is thrown
5%
The program crashes
π2
Which of the following statements about threading in Java is true?
Anonymous Quiz
71%
Threading allows a program to perform multiple tasks simultaneously.
11%
Threading ensures that a program runs faster than single-threaded programs.
16%
Threading guarantees the sequential execution of tasks in the order they are created.
3%
Threading is only useful in graphical user interface (GUI) applications.
π5
Can a for loop have multiple break conditions?
Anonymous Quiz
43%
yes
32%
no, only one is allowed
9%
Only if the loop has a default case
16%
Only if the loop is nested inside another loop
π₯2π1
Can you write a program to find all numbers in a string ?
input "1 H211o W0r1d" output [1,211, 0, 1] ?
input "1 H211o W0r1d" output [1,211, 0, 1] ?
Anonymous Poll
66%
yes
21%
no
13%
please share video
Forwarded from TechShiksha by Badkul Technology (spring boot and microservices admin)
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
Like this post if you have already subscribed to our channel
Click on below link to subscribe
https://bit.ly/3NLjOpW
Discuss doubts in @javaforfree
Like this post if you have already subscribed to our channel
Click on below link to subscribe
https://bit.ly/3NLjOpW
Discuss doubts in @javaforfree
What is the purpose of the break keyword in a for loop?
Anonymous Quiz
69%
It terminates the loop immediately
14%
It skips the current iteration
14%
It moves to the next iteration
4%
It is optional and not required
π6π1