Interview Question: Will Static block be executed with final variable?

  Рет қаралды 34,009

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 50
@harshshiyani2058
@harshshiyani2058 3 жыл бұрын
No one like you... Short video + very very important knowledge + easily understandable Thank you... Keep it up Stay safe....
@smruthihegde-bhat574
@smruthihegde-bhat574 3 жыл бұрын
1st view!! Thank you Naveen.. I refered your videos for interviews. I got 2 job offers!!
@hackwithharsha5228
@hackwithharsha5228 3 жыл бұрын
Congratulations 🎉
@VibesChanger
@VibesChanger 3 жыл бұрын
These interview bites are of great help... which are generating curiosity and also makes us realize where we stand interns of understanding different concepts.
@artimandale8286
@artimandale8286 9 ай бұрын
I don't have words to praise you .very well explained 😊 God bless you Naveen
@kalaivananrajendran5214
@kalaivananrajendran5214 3 жыл бұрын
Yes clearly explained, thanks. static final variable constant will get assigned when you compile the class at compile time itself, so no additional value substitution happens at run time.
@sourabhdivate1655
@sourabhdivate1655 3 жыл бұрын
God can't go everywhere so god created people like you.. Thank you so much Naveen for guiding us without any expectations. believe me I am eagerly waiting for your new videos, new concepts, new solutions.
@bharathreddy8918
@bharathreddy8918 3 жыл бұрын
Best channel i have ever seen.
@akashd7934
@akashd7934 3 жыл бұрын
This removes confusion between final and static👍
@harshalkamble7381
@harshalkamble7381 3 жыл бұрын
Wow intresting concept
@saiakhil2474
@saiakhil2474 3 жыл бұрын
Thankyou for giving worthful stuff to all users.
@gowthamrockz
@gowthamrockz 3 жыл бұрын
Very Interesting concept. I didn't Knew this. Thank you so much
@koteswararaovasa9721
@koteswararaovasa9721 3 жыл бұрын
Nice concept, we want more concepts from you bro.Thank you
@abhishektech323
@abhishektech323 3 жыл бұрын
So informative! thank you so much, Sir
@vinith2320
@vinith2320 3 жыл бұрын
Thank you Naveen 👍 I really appreciate your effort An apple a Day keeps doctor away But here A video per day Keeps failure away 😉
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
So nice of you
@souvikchatterjee7400
@souvikchatterjee7400 3 жыл бұрын
These interview questions keep getting interesting
@hackwithharsha5228
@hackwithharsha5228 3 жыл бұрын
Short and Sweet.. thank you !!
@sunnyjain630
@sunnyjain630 3 жыл бұрын
Oh i got the concept!! Thanks Naveen sir😇
@amalar3616
@amalar3616 3 жыл бұрын
Hi Naveen, could you please do a video on generics the T and E concepts and its uses. If you have already done it could you please share the link
@sameerkadgaye2048
@sameerkadgaye2048 3 жыл бұрын
Thank you sir 🙏
@sandeepkokane9549
@sandeepkokane9549 3 жыл бұрын
Thank u so much 👍
@kamleshmurdhariya8134
@kamleshmurdhariya8134 3 жыл бұрын
I really liked it , Happy Learning...
@gohanvippi
@gohanvippi 3 жыл бұрын
Wonderful insight 👌🏽💡
@montywinget3169
@montywinget3169 3 жыл бұрын
Hello sir ! I found this short videos of yours very helpful. Can you make a playlist of them so that we can find them at one place.
@omashete3800
@omashete3800 3 жыл бұрын
good faclty naveen sir i improve my skill
@Poornima_K03
@Poornima_K03 3 жыл бұрын
Thank you
@rizwanshahid1447
@rizwanshahid1447 3 жыл бұрын
thanks Naveen
@JainNamit
@JainNamit 3 жыл бұрын
wow I didnt know this...amazing
@gokusaiyan6809
@gokusaiyan6809 3 жыл бұрын
So what exactly did the final variable do such that the static block did not execute.
@pa1gupta
@pa1gupta 3 жыл бұрын
It will replace with value directly instead reference in calling method.
@vishnun181
@vishnun181 3 жыл бұрын
Hi Naveen thanks for your videos... It is easily understandable to everyone... Your explanations are awesome... Please do some videos on Selenium C# if possible...
@superbbcfan
@superbbcfan 3 жыл бұрын
Hello Naveen. I really appreciate your efforts and find value in your videos. Keep it up. For my self practice I have created a framework with Selenium and Java. It is still work in progress and I try to commit changes to it whenever possible. Please could you review the framework and let me know your feedback. If you can review, please let me know where can I send the GitHub repo link to my project.
@nishikantwairkar6866
@nishikantwairkar6866 3 жыл бұрын
Amazing
@syedafarzana960
@syedafarzana960 3 жыл бұрын
👌👌
@vengateshm2122
@vengateshm2122 3 жыл бұрын
Is it like compile time constant?
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
More of a compiler optimization to improve the performance
@inshortlaughs1816
@inshortlaughs1816 3 жыл бұрын
I want you to explain hour of glass problem
@amolmehlawat8197
@amolmehlawat8197 3 жыл бұрын
Hi Naveen, Could you please please please do a video on Solid principles? 🥺
@saravanan_chyr
@saravanan_chyr 3 жыл бұрын
Which class is loaded first whether the Test or Main
@aadeshnarvariya
@aadeshnarvariya 3 жыл бұрын
Naveen.. My static block is excuted only when object of that class is created. I m using java 8 .Ev
@prajwaln3638
@prajwaln3638 3 жыл бұрын
Hey Naveen, Yesterday i had an interview for Test Automation position and i had a question like - How to select multiple check box at a time in selenium(Note: Select all checkbox will not be present) I was literally confused by this question. Please get me a solution for this
@prathyushathumalapally9746
@prathyushathumalapally9746 3 жыл бұрын
Hi Prajwal, By using the below script we can check mutiple checkboxes List checkboxes = (List) driver.findElements(By.xpath("//input[@type='checkbox']")); System.out.println(checkboxes.size()); for(int i=0; i
@prajwaln3638
@prajwaln3638 3 жыл бұрын
@@prathyushathumalapally9746 Thanks for the reply. Ya this was a simple script but my thinking ability was bad. May be ill overcome in the future interviews.. As this is a learning face and we do learn from mistakes... :)
@sunnyjain630
@sunnyjain630 3 жыл бұрын
Msg followed by 100
@sandeeprevanwar1191
@sandeeprevanwar1191 3 жыл бұрын
Static block also print ..i think
@AbdullahKhan-dl9lm
@AbdullahKhan-dl9lm 3 жыл бұрын
But why?
@aakibqureshi1894
@aakibqureshi1894 3 жыл бұрын
Paused video O/p:- 100
@abhijitpawar9216
@abhijitpawar9216 3 жыл бұрын
Naveen Sir... Kindly revert to my mail if possible from your busy schedule
@chucksucks8640
@chucksucks8640 3 жыл бұрын
Who the heck would know something like that?
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Difference between Interface and Absract Class
30:52
Naveen AutomationLabs
Рет қаралды 183 М.
What is Encapsulation in Java - OOP Concept
19:44
Naveen AutomationLabs
Рет қаралды 72 М.
Why Java Uses static & final for Constants
8:44
Cameron McKenzie
Рет қаралды 1,4 М.
Tricky Interview Question: Maximum Number of Method Parameters Allowed in #Java
13:31
This and Super keywords with Constructor Examples In Java
57:03
Naveen AutomationLabs
Рет қаралды 84 М.
Can we override a static method in child class? || Famous Interview Question
14:46
Star Pattern Logic - Part 1 - By Naveen AutomationLabs
22:34
Naveen AutomationLabs
Рет қаралды 64 М.
Why password should be stored in char array char[] instead of string?
9:19
Naveen AutomationLabs
Рет қаралды 51 М.