Yor are great, you are cleared all my doubts, great thank uh🙏
@MohammedSameer-rx5rz2 жыл бұрын
public static void main(String[] args { = // it is a Entry point for java application, to execute the Programm // public = it is an Access Modifier // Static = our main class is a Class method // void = it represents the Main method returns No value // args is an array, From the Command Prompt , It is passing the every input as in form of String via array // when we write String args [ ], it will take every command line argument which means values, in the form of String and it will convert it to any data type whenever it is needed // The main method takes a single argument, an array of String objects called args. This array is used to pass command-line arguments to the program. A single argument is a value that is passed to a method or function when it is called. In the case of the main method in a Java program, the single argument is an array of String objects called args.
@acsahannasimon72924 жыл бұрын
Thank you soo much sir You have cleared all my doubts and i like your teaching style
@Tarun_Kotagiri3 жыл бұрын
The main method is actually public because it needs to be called by java application.. remember we write "java test" where test is the bytecode for running the program.. as we know bytecode is not executed by the operating system.. but rather by the jvm.. Not trying to be rude.. just wanted to share the intel.
@aliusa63275 жыл бұрын
i have just subscribe to your channel good job thanks for your explaination keep up ❤🙏 waiting for game developement in java series or Ai in Python
@AmarLakiii2 жыл бұрын
Woww superb mind-blowing sir....
@SwamiShreekant4 жыл бұрын
Superb Sir ---> Direct Concept Clear♥
@vishnubabukondisetty62674 жыл бұрын
Super explanation sir Thank u so much
@srivigneshcreations.92043 жыл бұрын
The way of teaching is very good to understand tq sir make some more concepts .
@akshatabani89274 жыл бұрын
Very good teaching😍
@mdsameena39634 жыл бұрын
Super explanation sir
@gilancadre62362 жыл бұрын
Your Chanel is really good
@SizzlingWithShaj3 жыл бұрын
As you told we can change the return type to some other like int, String, can we have one live example please? Since it won't work if we use another return type than void
@tonystark-ov4nf5 жыл бұрын
Sir can you upload videos of AWT..and applet's gui..u r teaching is so good..and also streaming videos
@sanm33385 жыл бұрын
good job making beginners life easy! can you please make java 8 syntax and methods
@pmohan73775 жыл бұрын
Why it should be string of args We are not giving inputs every time in cmd line
@venkateshn79965 жыл бұрын
Sir teaching is really easy to understand,sir please videos for collections and generics
@rekhanatarajan61493 жыл бұрын
thank u sir...nice explanation..
@ajohpv70333 жыл бұрын
Well done
@swathidevasenapathy61284 жыл бұрын
Sir pls xplain method declaration and field declaration in java...
@AbdulBasith-ev9mf4 жыл бұрын
'args' is identifier..So we can use any valid identifier instead of args
@AjithKumaR-jw9wt3 жыл бұрын
Yes we can use
@jubilinjose12344 жыл бұрын
Sir, can you please suggest an android app for executing all types of java programs..since we were having online classes.
@xtremeninja68594 жыл бұрын
AIDE It is available on Play Store
@sriharismart92555 жыл бұрын
Good explanation sir
@baikadisaikumar23023 жыл бұрын
Thank you very much Sir..
@prasadaute22644 жыл бұрын
You explained well
@sarathiacherjee83723 жыл бұрын
Nice
@jai35374 жыл бұрын
Great , But please number you sessions so on can no the previous and next sessions
@iniyaviji2796 Жыл бұрын
Thank you sir super sir
@khushmnsangha177 Жыл бұрын
thanku sir
@venkatasairam15025 жыл бұрын
All good
@PavanKumar-zd2sy3 жыл бұрын
If we are not executing using command line arguments and if we missed including string args[ ] as parameter....then will it gets executed, if not why? Can you please explain it sir !!..
@nagasulochana595 Жыл бұрын
Thank you
@xtremeninja68594 жыл бұрын
Sir pls solve my problem When I run a program it shows that There is no main method to run this project I use AIDE(android coding app) I don't understand why this is coming And there are also no errors in the program....
@koi75574 жыл бұрын
Hi, the parameter should be String[] args
@balakrishnann31344 жыл бұрын
both are right.
@ramu129472 жыл бұрын
Explain jdbc in java sir
@yashparmar5722 Жыл бұрын
Thanks ❤
@mithunram53462 жыл бұрын
Thanks a lot
@niroshacharala13244 жыл бұрын
Is there any videos of yours about execution part of program in both stock and heap area sir?
@niroshacharala13244 жыл бұрын
Plz reply me
@satyakrishnapalla51902 жыл бұрын
Thank u
@Helloworld979773 жыл бұрын
Thank u sir
@rellisravankumar91333 жыл бұрын
I have query which string args with not given in main function it can work it or not else it shows as error JVM
@killiprasad86155 жыл бұрын
Babai regular classes pettu offline classes cheppu institute pettu
@charankaringula66474 жыл бұрын
sir...why ' S ' is capitalized in String[] args?
@bandarupriyanka81793 жыл бұрын
String is a class so we have to write capital letter in class
@TheMayuresh7775 ай бұрын
👍 right😂
@sugureshark84723 жыл бұрын
Can you give one example
@gaurrahul6195 жыл бұрын
Why return type of main is void in Java?
@ttv93295 жыл бұрын
void = just does something, doesn't return any value.
@ramanakumar42323 жыл бұрын
Their is no rule that void is only the return type . According to our program we can change it to int ,float etc..... But ,mostly return type is void because it is inside the class .
@SF_Sensei2 жыл бұрын
what is the difference between these main method public static void main(String args[ ] ) public static void main(String[ ] args )
@vijayakhemnar5902 жыл бұрын
Both are same
@SachinHB-ol6mx Жыл бұрын
Yeah both are correct and u will get output... And also we can use these public static void main(String... args) static public void main(String[] args) static public void main(String args[])
@rishimaddheshiya30318 ай бұрын
Eska code kya hoga sir code bataiye
@akil13814 жыл бұрын
I have a clarification on 'public', it is access specifier ??? Not access modifier