How to call static method in Main Method in Java #seleniumjava #softwaretesting #selenium #shorts

preview_player
Показать описание
As a part of this video I have discussed how to call a static method in Java.

Do not forget to check out my free course on Core Java here

Do not forget to check out my free course on Selenium here

Java Interview Question

Explain what happens in complication and interpretation
How Java internally works
how to calculate the range of each datatype?
Can I have the size of the datatype in bits and bytes? True or false?
What is the use of the super keyword?
Why do you use try and catch?
What is the default value of the boolean data type in a global variable?
Explain what is public static void main?
Explain method overloading?
Explain method overriding?
What are the rules of method overriding?
can you override static method?
Which company owns java?
Why java is called as platform specific?
What are literals?
What are the types of tokens in Java?
can you override the constructor?
name some Java Keyword?
In case of multiple if block statements how many maximum if blocks may get printed?
What are local and global variables?

Please fill out the above form to join any course of mine with a discount
You can also call us at +91 8009900785

Like, share and subscribe to the channel.
API Testing Playlist

Manual testing Playlist

Adding my blog link

Adding my personal mail Id:

Adding my Quora profile link here:

Adding my Twitter account here,
or
Facebook Page:

Join us on Telegram today,
SoftwaretestingbyMKT
For the latest update on software jobs and to discuss each and everything about Software Testing also get an opportunity to get on an audio/video call with me directly to you.
I make videos on daily basics and also help student all over the world for FREE. If my videos are helpful in anyway help "SoftwaretestingbyMKT" reach billions by supporting
OR
Рекомендации по теме
Комментарии
Автор

Revision:
1) Static method is written inside a class but outside of main method.

2) static keyword is used

3) No need to create object to call static method inside a class

4) we can call directly by its name in the main...Or using object referenceName or classname.

pradipshimpi
Автор

Through the obj reference we can also call the static method but we don't cause it will be a waste of memory

aditya_kittu