Why do we need while loop, when we already have for loop to do the same thing.
Anonymous Poll
68%
answer in comments
32%
share solution video
Can you write a program to take input from user. In next video we will explain same.
Anonymous Poll
89%
Yes
11%
No
Planning to organize a workshop on weekend to show how to solve basic programs in java written exams?
Anonymous Poll
82%
Interested in free workshop
13%
Interested in paid workshop
5%
Not interested
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
https://www.youtube.com/c/frbjava
Discuss doubts in @javaforfree
https://www.youtube.com/c/frbjava
Discuss doubts in @javaforfree
Forwarded from AI
We are organizing a paid workshop for 99 per person.
The following topics will be covered in the workshop.
1. Java installation
2. Installing eclipse
3. Debugging Skills basic
4. Reverse a String
5. Reverse a Number
6. Factorial of Number
7. Palindrome
8. Fibonacci Series Recursive.
9. Average of Numbers.
10. Find Max and Min in Array
If you face any problems they will be solved immediately by sharing the screen. After that, you will be added to a support group where if you face any issues in a program taught in the workshop will be resolved.
This is much cheaper than any Java coaching and you will get a lot of info in just 2 hours on workshop
Session Date: 19 March 2022
Session Timings: 12-2 PM
Mode of Payment: UPI.
If interested please register your names.
Thanks,
The following topics will be covered in the workshop.
1. Java installation
2. Installing eclipse
3. Debugging Skills basic
4. Reverse a String
5. Reverse a Number
6. Factorial of Number
7. Palindrome
8. Fibonacci Series Recursive.
9. Average of Numbers.
10. Find Max and Min in Array
If you face any problems they will be solved immediately by sharing the screen. After that, you will be added to a support group where if you face any issues in a program taught in the workshop will be resolved.
This is much cheaper than any Java coaching and you will get a lot of info in just 2 hours on workshop
Session Date: 19 March 2022
Session Timings: 12-2 PM
Mode of Payment: UPI.
If interested please register your names.
Thanks,
public static int maxPosPrefixes(List<Integer> arr) {
int count = 0;
Collections.reverse(arr);
int prefixSum = 0;
for(int i : arr) {
prefixSum +=i;
if(prefixSum >0) {
count++;
}
}
return count;
}
int count = 0;
Collections.reverse(arr);
int prefixSum = 0;
for(int i : arr) {
prefixSum +=i;
if(prefixSum >0) {
count++;
}
}
return count;
}
What is the return type of a method that does not return any value?
Anonymous Quiz
20%
null
73%
void
4%
none
3%
empty
Newly Joined Members subscribe to our channel to learn programming and crack written exams.
https://www.youtube.com/c/frbjava
Discuss doubts in @javaforfree
https://www.youtube.com/c/frbjava
Discuss doubts in @javaforfree
Shall we start a Playlist on our YouTube channel for Java 8 to 17 features?
Anonymous Poll
90%
Yes
10%
No
π3
#Java_Quiz (Question - 123)
Which of the following is a method having same name as that of itβs class?
Which of the following is a method having same name as that of itβs class?
Anonymous Quiz
7%
finalize
6%
delete
19%
class
68%
constructor
We are organizing a paid workshop for 99 per person.
The following topics will be covered in the workshop.
1. Java installation
2. Installing eclipse
3. Debugging Skills basic
4. Reverse a String
5. Reverse a Number
6. Factorial of Number
7. Palindrome
8. Fibonacci Series Recursive.
9. Average of Numbers.
10. Find Max and Min in Array
If you face any problems they will be solved immediately by sharing the screen. After that, you will be added to a support group where if you face any issues in a program taught in the workshop will be resolved.
This is much cheaper than any Java coaching and you will get a lot of info in just 2 hours on workshop.
After this workshop, we will share an assignment if anyone can complete the assignment in a given period the next workshop will be free and so on.
Anyone can learn Java in just 99 Rs if you complete the assignment.
Our purpose is to share the knowledge with everyone not to earn money.
Interested candidates, please join the below-mentioned group : @javaworkshop
Session Date: 26 March 2022
Session Timings: 12-2 PM
Mode of Payment: UPI.
If interested please register your names by joining the above group.
Thanks,
The following topics will be covered in the workshop.
1. Java installation
2. Installing eclipse
3. Debugging Skills basic
4. Reverse a String
5. Reverse a Number
6. Factorial of Number
7. Palindrome
8. Fibonacci Series Recursive.
9. Average of Numbers.
10. Find Max and Min in Array
If you face any problems they will be solved immediately by sharing the screen. After that, you will be added to a support group where if you face any issues in a program taught in the workshop will be resolved.
This is much cheaper than any Java coaching and you will get a lot of info in just 2 hours on workshop.
After this workshop, we will share an assignment if anyone can complete the assignment in a given period the next workshop will be free and so on.
Anyone can learn Java in just 99 Rs if you complete the assignment.
Our purpose is to share the knowledge with everyone not to earn money.
Interested candidates, please join the below-mentioned group : @javaworkshop
Session Date: 26 March 2022
Session Timings: 12-2 PM
Mode of Payment: UPI.
If interested please register your names by joining the above group.
Thanks,
π3