TechShiksha by Badkul Technology
5.78K subscribers
135 photos
238 files
617 links
https://www.youtube.com/@TechShikshaBT

Learn Java programming for free
Free hand written notes
Free ebooks
Free assignment support
Paid assignment support
Download Telegram
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
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,
private static int findMinimumDistance(int[] arr, int n) {
int minDist = Integer.MAX_VALUE;
for(int i=0; i<n; i++) {
for(int j=i+1; j<n; j++) {
if(arr[i]==arr[j]) {
if(j-i < minDist) {
minDist =j -i;
}
}
}
}
if(minDist == Integer.MAX_VALUE) {
return -1;
}
return minDist;
}
πŸ‘5
Live stream finished (9 seconds)
Have you installed java and eclipse on your system?
Anonymous Poll
74%
Yes
26%
No
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;
}
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
Are you aware of Java 8 features?
Anonymous Poll
59%
Yes
41%
No
Shall we start a Playlist on our YouTube channel for Java 8 to 17 features?
Anonymous Poll
90%
Yes
10%
No
πŸ‘3
πŸ‘3
#Java_Quiz (Question - 123)

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