Top 10 Static & Instance Block Based Interview Questions || Tricky Java Interview Questions
Description
In this video, I have covered different Static Block Based Interview Questions || Tricky Java Interview Questions
--static block
--instance block
/**
* Java Static Block Interview Questions:
Q1. Explain static blocks in Java ?
Q2. How can we run a java program without making any object?
Q3. Similarity and Difference between static block and static method ?
Q4. How can we create objects if we make the constructor private ?
Q5. Is it possible to compile and run a Java program without writing main( ) method?
Q6. Can we initialize member variables within static block ?
*/
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Naveen%20AutomationLabs?sub_confirmation=1
Follow me on my Facebook Page:
https://www.facebook.com/groups/naveenqtpexpert/
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
https://t.me/joinchat/COJqZUPB02r5sB73YMdXEw
Naveen AutomationLabs Paid Courses:
Java & Selenium:
http://naveenautomationlabs.com/manual-automation-testing-of-webservices-api/
Java & API +POSTMAN + RestAssured + HttpClient:
http://naveenautomationlabs.com/selenium-java-full-paid-course-recorded-videos/
Comments