Are you Ready??????
0:04
11 ай бұрын
Static variables in java
2:24
Жыл бұрын
METHOD OVERLOADING IN JAVA
1:59
Жыл бұрын
WHAT IS RETURN STATEMENT IN JAVA
4:14
CALCULATOR PROGRAM IN JAVA
3:20
Жыл бұрын
Пікірлер
@BapusahebMalawade
@BapusahebMalawade 20 күн бұрын
Yes
@vishaljadhav4652
@vishaljadhav4652 24 күн бұрын
package JavaProgms; public class primeOrNot { public static void main(String[] args) { int num = 5; int count = 0; if (num > 1) { for (int i = 1; i <= num; i++) { if (num % i == 0) count++; } if (count == 2) { System.out.println("Prime Number"); } else { System.out.println("Non-Prime Number"); } } } }
@tanayhalder6340
@tanayhalder6340 2 ай бұрын
this program will not work for 9 also dlt this fake vid
@trongtue8384
@trongtue8384 2 ай бұрын
What about association ( does it have any different in code systax compare to Aggregation ? )
@aviligondarakesh4477
@aviligondarakesh4477 3 ай бұрын
Bro this is fully wrong bro
@SiriSreeTechTutorials
@SiriSreeTechTutorials 3 ай бұрын
I’m not sure why this program does not work for you guys.
@aviligondarakesh4477
@aviligondarakesh4477 3 ай бұрын
@@SiriSreeTechTutorials actuqlly here whats going is i%j in the condition , 2 will be looping here , but not work on 3 and 5 and 4 thats the problem
@nxplusgaming3583
@nxplusgaming3583 4 ай бұрын
Bro 9 is not prime but this programme is give output as prime It's just printing even and odd
@SiriSreeTechTutorials
@SiriSreeTechTutorials 3 ай бұрын
I’m not sure why you guys get such wrong output. For me it is working fine. Please do double check the program
@nxplusgaming3583
@nxplusgaming3583 3 ай бұрын
@@SiriSreeTechTutorials no bro program is right i was wrong sorry 😔
@vishaljadhav4652
@vishaljadhav4652 24 күн бұрын
package JavaProgms; public class primeOrNot { public static void main(String[] args) { int num = 5; int count = 0; if(num > 1) { for(int i = 1; i <=num; i++) { if(num % i == 0) count++; } if(count == 2) { System.out.println("Prime Number"); } else { System.out.println("Non-Prime Number"); } } } }
@user-xk2zb6cv8y
@user-xk2zb6cv8y 4 ай бұрын
Then what about composition
@SiriSreeTechTutorials
@SiriSreeTechTutorials 3 ай бұрын
When an object can not exist without another object, we call that relation as consumption
@HansiRawat-eq8qt
@HansiRawat-eq8qt 4 ай бұрын
Thanks a lot for detailed videos and shorts are superb
@SiriSreeTechTutorials
@SiriSreeTechTutorials 3 ай бұрын
You’re welcome
@chin2vk214
@chin2vk214 6 ай бұрын
This is a fake one if we give some odd multiple it won’t work. For example 33
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
No words broo. I don’t know whether you tried or not. Please try once and make a comment
@aviligondarakesh4477
@aviligondarakesh4477 3 ай бұрын
Bro true
@aviligondarakesh4477
@aviligondarakesh4477 3 ай бұрын
​@@SiriSreeTechTutorialsnuvvu thappu ichi cover chesukovadhu
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Send kr do
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Hi bro. I don’t know Hindi. Not getting what exactly you are looking for.
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Kal Mera project hai iska mujhe iske screenshot chahiye plz
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Plz apne insta I'd do kuch help chahiye aapki
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
srikanthpelluru
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Hlo😊
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Plz reply me now
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Bro i need your help
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Yes Bro, tell me
@UncleJiGaming.
@UncleJiGaming. 6 ай бұрын
Hlo
@praneethrichie
@praneethrichie 6 ай бұрын
😂😂😂
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
🤣
@Silent-Ghost-Rider
@Silent-Ghost-Rider 6 ай бұрын
You presented my life story in 10 seconds😂❤
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Haha 😛
@pradhyudh
@pradhyudh 6 ай бұрын
As someone who never read documentation,this hits hard
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Then they will read the documentation 😀
@NanthakumarRbca
@NanthakumarRbca 6 ай бұрын
Sir i have a one doubt, MNC companys are like zoho, tcs , will they asked like this questions in selection process ? Sir
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
In MNC companies, they might not ask, but if company looking for strong technical person, then there is a chance of asking this type of questions..
@puttapallisatishyadav222
@puttapallisatishyadav222 6 ай бұрын
bro pls try the exact code in online gdb once!
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Ok I will try
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
I tried and, it is working as expected bro.. One thing also observed, if your giving small and capital letters combination, then there is a chance it will get fail. Tell me what input your giving.. so I can analyse and give you solution.
@ninopino12
@ninopino12 7 ай бұрын
This was quixk and informatove, thanks❤
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Glad it was helpful!
@himanshulowanshi5121
@himanshulowanshi5121 7 ай бұрын
This program is even odd numbers
@SiriSreeTechTutorials
@SiriSreeTechTutorials 7 ай бұрын
If it is even odd number program, I would have written (num%2==0) condition, why we need for loop before this condition. And then I am verifying (num%i == 0) That makes this program as prime or not
@omhatgaonkar2755
@omhatgaonkar2755 7 ай бұрын
But if we put 1 it says it is prime, and 1 is not prime number
@SiriSreeTechTutorials
@SiriSreeTechTutorials 7 ай бұрын
Yeah. Before for loop, we should write an if condition. Thanks for finding this.
@richardvivin7006
@richardvivin7006 7 ай бұрын
Really useful Need more problem solving in Java sir
@SiriSreeTechTutorials
@SiriSreeTechTutorials 7 ай бұрын
Sure give me some questions or I will upload after few days.
@richardvivin7006
@richardvivin7006 7 ай бұрын
@@SiriSreeTechTutorials is sample program enough sir to select in technical interview if yes please do that sir it will be more useful
@SiriSreeTechTutorials
@SiriSreeTechTutorials 7 ай бұрын
Sure, if ur a fresher, you can go through the 100 interview questions that will help you to clear technical. These questions are available in our channel
@nileshgurung9437
@nileshgurung9437 7 ай бұрын
What if we put 2
@SiriSreeTechTutorials
@SiriSreeTechTutorials 7 ай бұрын
Then this will get fail… I notice that and expect the question from followers. Before if, we should check the value is greter than 2 or not, if not then print as not prime and return..
@nikhilagrawal9217
@nikhilagrawal9217 7 ай бұрын
Thank you for this video.
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
Glad it was helpful!
@assasinator4686
@assasinator4686 8 ай бұрын
Tq❤❤
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
:)
@Dwtech7072
@Dwtech7072 9 ай бұрын
Good .. I like way you represent 👍
@SiriSreeTechTutorials
@SiriSreeTechTutorials 9 ай бұрын
Thank you so much 😀
@sireeshachennuru8870
@sireeshachennuru8870 10 ай бұрын
Main1
@SiriSreeTechTutorials
@SiriSreeTechTutorials 6 ай бұрын
:)
@SiriSreeTechTutorials
@SiriSreeTechTutorials 10 ай бұрын
Output: "Main1"
@SiriSreeTechTutorials
@SiriSreeTechTutorials 10 ай бұрын
full video: kzbin.info/www/bejne/p2S5p4OMhNaDiZosi=wzPBJoKoIClWTL9N
@abiselvam8842
@abiselvam8842 11 ай бұрын
Error
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Correct 👍🏽
@abiselvam8842
@abiselvam8842 11 ай бұрын
Yes..compile Answer is 20
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great correct ✅
@abiselvam8842
@abiselvam8842 11 ай бұрын
System.out.println(x++);
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great 😊
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=1;i<=4;i++) { for(int j=4;j>=i;j--) { System.out.print("*"+" "); } System.out.println(); }
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=1;i<=4;i++) { for(int j=1;j<=i;j++) { System.out.print("*"+" "); } System.out.println(); }
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=5;i>=1;i--) { for(int j=1;j<=i;j++) { System.out.print(j + " "); } System.out.println(); }
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=1;i<=4;i++) { for(int j=1;j<=4;j++) { System.out.print(i + " "); } System.out.println(); }
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=4;i>=1;i--) { for(int j=i;j>=1;j--) { System.out.print(j + " "); } System.out.println(); }
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great 👍🏽
@abiselvam8842
@abiselvam8842 11 ай бұрын
for(int i=1;i<=3;i++) { for(int j=1;j<=i;j++) { System.out.print(j); } System.out.println(); }
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great 👍🏽
@adityachouksey5595
@adityachouksey5595 11 ай бұрын
The outpit will be 11 10
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Not really bro. First y assigned as x. So y will have 10. Next y is incremented by 1, so y value is 11. Next printing y. So it prints 11. Next we are post incrementing y. So, for that statement y value still 11. Once that statement completed, then y value become 12. But for printing it will use before incremented value. So output will be 11 11
@mblueberry4279
@mblueberry4279 11 ай бұрын
Cool
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
😊
@soum_pray
@soum_pray 11 ай бұрын
Thats relatable
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
😹
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Full Video kzbin.info/www/bejne/mmOphXugqsmKqas
@naveenwatare295
@naveenwatare295 11 ай бұрын
Good and short explanation keep going 👏👏
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Thank you 😊
@lec025shobanaselvaraj5
@lec025shobanaselvaraj5 11 ай бұрын
What's the output!??
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
It will be a compilation error. It is a method, that should return Constructor class object. But in the method, there is no return statement.
@mounikachennuru9549
@mounikachennuru9549 11 ай бұрын
If()
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great 👍🏽
@sandeepchava805
@sandeepchava805 11 ай бұрын
1.5 1
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Great 👍🏽
@SiriSreeTechTutorials
@SiriSreeTechTutorials 11 ай бұрын
Program - kzbin.infoJZLQ6Z3XwVE?feature=share