Тёмный

Can we overload a main() method in Java? || Java Interview Question 

Naveen AutomationLabs
Подписаться 386 тыс.
Просмотров 60 тыс.
50% 1

Наука

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@merfu.uighur5996
@merfu.uighur5996 3 года назад
you are born as teacher Naveen ,can not be more clear and to the point!thank you so much!
@saurabht09
@saurabht09 3 года назад
Naveen is a special person for all Automation engineers. No one can explain any topic like him.. Keep growing and helping all :)
@naveenautomationlabs
@naveenautomationlabs 3 года назад
Thanks brother 🙏☺️ keep motivating like this.
@Driverforcash
@Driverforcash Год назад
Very Clear concise but at same time detailed video. Thanks Naveen Sir !
@muppapavankumar2124
@muppapavankumar2124 6 лет назад
naveen you are doing an awesome job, it is really helpful to me and many like me. Can you post a video of collections concept?
@andyrockstar78
@andyrockstar78 6 месяцев назад
Thanks so much Naveen for this.
@prasannamaithili8231
@prasannamaithili8231 3 года назад
Thank you so much Naveen. Very much useful
@PRIYAGUPTA-dr1nr
@PRIYAGUPTA-dr1nr 6 лет назад
thank you ..you helped me a lot
@anilleo18
@anilleo18 6 лет назад
great naveen...can u please post one multithreading video aswell
@vfwrgn7vj4
@vfwrgn7vj4 4 года назад
Easy explanation. thanks
@priya-vf3jc
@priya-vf3jc 6 лет назад
my question is regarding Xpath ... as u said in drop down session like By.id() in main()... but wen v separately save xpaths in .propertiesfile and wen v want to automate that through keywords.java class den how to use it ... public void choose(String objectname, String data) { Select select = new Select(driver.findElement(By.xpath(prop.getProperty(objectname)))); select.selectByVisibleText("working"); // ??? } leadstatus= //*[@id='23:3372;a']/div/a dis is how i saved in objectrepository.propertiesfile
@rinkuindia
@rinkuindia 9 дней назад
can we call the main() method of same class again and again like loop?
@praneethchakri7052
@praneethchakri7052 6 лет назад
Thanks Naveen..it was informative.!
@prikshitverma3885
@prikshitverma3885 3 года назад
Why we use string array in main method? Why not int or any other type of arrays?
@sumanthzvakacharla6079
@sumanthzvakacharla6079 6 лет назад
Can we automate angular js based web apps using selenium?
@LilMoonLightShine
@LilMoonLightShine 6 лет назад
Hi... Can you let me know about mobile automation testing online course.
@santhoshk8095
@santhoshk8095 6 лет назад
thank you sir.. nice video..
@OptionTrader_dB
@OptionTrader_dB 5 лет назад
great
@tenapallipriya3096
@tenapallipriya3096 3 года назад
@naveen can you please write a program to segregate positive and negative numbers in array
@ashutoshanand9906
@ashutoshanand9906 6 лет назад
Can we override the same main method?
@varshpravin946
@varshpravin946 6 лет назад
Sir, do WebDriver Interface have any super Interface which is implemented by WebDriver???
@juniorbroddy521
@juniorbroddy521 6 лет назад
yes SearchContext
@sachin21890
@sachin21890 6 лет назад
Can we have two methods with same name, same arguments but different return types ?
@naveenautomationlabs
@naveenautomationlabs 6 лет назад
yes we can have it.
@sachin21890
@sachin21890 6 лет назад
Naveen AutomationLabs Thanks Naveen for such quick response . You are doing a great job
@kumarrdy5420
@kumarrdy5420 6 лет назад
Hi Naveen, Can you please share sample programs.
@vikaspaliwal185
@vikaspaliwal185 6 лет назад
Yes in methord ovrerridding as a covarient return typee
@vigneshkumar5980
@vigneshkumar5980 Год назад
what if class A extends class B, will main method get overridden? if not, how come?
@neha7980
@neha7980 3 года назад
Can we override?
@dileepks2319
@dileepks2319 3 года назад
typically it is considered as a normal method
@juniorbroddy521
@juniorbroddy521 6 лет назад
m not getting one thing...if jvm does not consider remaining three methods as main then how is it possible to call them without class?
@sivakrishnapotla6234
@sivakrishnapotla6234 6 лет назад
hi @Damini Jurel , When we overload main method in Java. But the program doesn't execute the overloaded main method when you run your program, you have to call the overloaded main method from the actual main method. That means main method acts as an entry point for the java interpreter to start the execute of the application. where as a loaded main need to be called from main.
@namratayadav7721
@namratayadav7721 5 лет назад
how to acess course ful
@jatinsharma3792
@jatinsharma3792 2 года назад
Stack Overflow best Exp.
@shilpasg1194
@shilpasg1194 3 года назад
Hi Naveen, Can we write Java program without main() method?
@harithasri8372
@harithasri8372 2 года назад
Yes we can, Eclipse doesnt throw any error. But we cannot execute the program.
@ranjitkar9802
@ranjitkar9802 Год назад
We can write it but we can not execute is because jvm always look for the main method in the program if it is available then execution will start over otherwise not
@vfwrgn7vj4
@vfwrgn7vj4 4 года назад
Easy explanation. thanks
Далее
Why String is Immutable and Final in Java?
19:59
Просмотров 87 тыс.
Ajdarlar...😅 QVZ 2024
00:39
Просмотров 232 тыс.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Просмотров 840 тыс.
What is Method and Method Overloading in Java
43:18
Просмотров 23 тыс.
Abstract Class in Java and Usage in Selenium
21:14
Просмотров 26 тыс.
Как почистить AirPods Max
0:57
Просмотров 126 тыс.
Google Pixel 9/Pro Review: Gimmick or Good?
24:05
Просмотров 3,3 млн