MAIN METHOD EXPLANATION - JAVA PROGRAMMING

  Рет қаралды 173,142

Sundeep Saradhi Kanthety

Sundeep Saradhi Kanthety

Күн бұрын

Пікірлер: 62
@kalyanidhudas4456
@kalyanidhudas4456 4 жыл бұрын
Yor are great, you are cleared all my doubts, great thank uh🙏
@MohammedSameer-rx5rz
@MohammedSameer-rx5rz 2 жыл бұрын
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.
@acsahannasimon7292
@acsahannasimon7292 4 жыл бұрын
Thank you soo much sir You have cleared all my doubts and i like your teaching style
@Tarun_Kotagiri
@Tarun_Kotagiri 3 жыл бұрын
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.
@aliusa6327
@aliusa6327 5 жыл бұрын
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
@AmarLakiii
@AmarLakiii 2 жыл бұрын
Woww superb mind-blowing sir....
@SwamiShreekant
@SwamiShreekant 4 жыл бұрын
Superb Sir ---> Direct Concept Clear♥
@vishnubabukondisetty6267
@vishnubabukondisetty6267 4 жыл бұрын
Super explanation sir Thank u so much
@srivigneshcreations.9204
@srivigneshcreations.9204 3 жыл бұрын
The way of teaching is very good to understand tq sir make some more concepts .
@akshatabani8927
@akshatabani8927 4 жыл бұрын
Very good teaching😍
@mdsameena3963
@mdsameena3963 4 жыл бұрын
Super explanation sir
@gilancadre6236
@gilancadre6236 2 жыл бұрын
Your Chanel is really good
@SizzlingWithShaj
@SizzlingWithShaj 3 жыл бұрын
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-ov4nf
@tonystark-ov4nf 5 жыл бұрын
Sir can you upload videos of AWT..and applet's gui..u r teaching is so good..and also streaming videos
@sanm3338
@sanm3338 5 жыл бұрын
good job making beginners life easy! can you please make java 8 syntax and methods
@pmohan7377
@pmohan7377 5 жыл бұрын
Why it should be string of args We are not giving inputs every time in cmd line
@venkateshn7996
@venkateshn7996 5 жыл бұрын
Sir teaching is really easy to understand,sir please videos for collections and generics
@rekhanatarajan6149
@rekhanatarajan6149 3 жыл бұрын
thank u sir...nice explanation..
@ajohpv7033
@ajohpv7033 3 жыл бұрын
Well done
@swathidevasenapathy6128
@swathidevasenapathy6128 4 жыл бұрын
Sir pls xplain method declaration and field declaration in java...
@AbdulBasith-ev9mf
@AbdulBasith-ev9mf 4 жыл бұрын
'args' is identifier..So we can use any valid identifier instead of args
@AjithKumaR-jw9wt
@AjithKumaR-jw9wt 3 жыл бұрын
Yes we can use
@jubilinjose1234
@jubilinjose1234 4 жыл бұрын
Sir, can you please suggest an android app for executing all types of java programs..since we were having online classes.
@xtremeninja6859
@xtremeninja6859 4 жыл бұрын
AIDE It is available on Play Store
@sriharismart9255
@sriharismart9255 5 жыл бұрын
Good explanation sir
@baikadisaikumar2302
@baikadisaikumar2302 3 жыл бұрын
Thank you very much Sir..
@prasadaute2264
@prasadaute2264 4 жыл бұрын
You explained well
@sarathiacherjee8372
@sarathiacherjee8372 3 жыл бұрын
Nice
@jai3537
@jai3537 4 жыл бұрын
Great , But please number you sessions so on can no the previous and next sessions
@iniyaviji2796
@iniyaviji2796 Жыл бұрын
Thank you sir super sir
@khushmnsangha177
@khushmnsangha177 Жыл бұрын
thanku sir
@venkatasairam1502
@venkatasairam1502 5 жыл бұрын
All good
@PavanKumar-zd2sy
@PavanKumar-zd2sy 3 жыл бұрын
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
@nagasulochana595 Жыл бұрын
Thank you
@xtremeninja6859
@xtremeninja6859 4 жыл бұрын
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....
@koi7557
@koi7557 4 жыл бұрын
Hi, the parameter should be String[] args
@balakrishnann3134
@balakrishnann3134 4 жыл бұрын
both are right.
@ramu12947
@ramu12947 2 жыл бұрын
Explain jdbc in java sir
@yashparmar5722
@yashparmar5722 Жыл бұрын
Thanks ❤
@mithunram5346
@mithunram5346 2 жыл бұрын
Thanks a lot
@niroshacharala1324
@niroshacharala1324 4 жыл бұрын
Is there any videos of yours about execution part of program in both stock and heap area sir?
@niroshacharala1324
@niroshacharala1324 4 жыл бұрын
Plz reply me
@satyakrishnapalla5190
@satyakrishnapalla5190 2 жыл бұрын
Thank u
@Helloworld97977
@Helloworld97977 3 жыл бұрын
Thank u sir
@rellisravankumar9133
@rellisravankumar9133 3 жыл бұрын
I have query which string args with not given in main function it can work it or not else it shows as error JVM
@killiprasad8615
@killiprasad8615 5 жыл бұрын
Babai regular classes pettu offline classes cheppu institute pettu
@charankaringula6647
@charankaringula6647 4 жыл бұрын
sir...why ' S ' is capitalized in String[] args?
@bandarupriyanka8179
@bandarupriyanka8179 3 жыл бұрын
String is a class so we have to write capital letter in class
@TheMayuresh777
@TheMayuresh777 5 ай бұрын
👍 right😂
@sugureshark8472
@sugureshark8472 3 жыл бұрын
Can you give one example
@gaurrahul619
@gaurrahul619 5 жыл бұрын
Why return type of main is void in Java?
@ttv9329
@ttv9329 5 жыл бұрын
void = just does something, doesn't return any value.
@ramanakumar4232
@ramanakumar4232 3 жыл бұрын
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_Sensei
@SF_Sensei 2 жыл бұрын
what is the difference between these main method public static void main(String args[ ] ) public static void main(String[ ] args )
@vijayakhemnar590
@vijayakhemnar590 2 жыл бұрын
Both are same
@SachinHB-ol6mx
@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[])
@rishimaddheshiya3031
@rishimaddheshiya3031 8 ай бұрын
Eska code kya hoga sir code bataiye
@akil1381
@akil1381 4 жыл бұрын
I have a clarification on 'public', it is access specifier ??? Not access modifier
@Successbuddy08
@Successbuddy08 2 жыл бұрын
Please hindi
@Altamash-m2k
@Altamash-m2k Жыл бұрын
In Hindi please
@abdulmuqsith4727
@abdulmuqsith4727 3 жыл бұрын
nalla varuva da gundu paiya....nadrida....
@vijayagopal6691
@vijayagopal6691 Жыл бұрын
Thanku sir
OVERLOADING CONCEPT - JAVA PROGRAMMING
29:05
Sundeep Saradhi Kanthety
Рет қаралды 192 М.
Explain about public static void main(String[] args); ( PART- I )
28:14
DURGA EDUCATION
Рет қаралды 673 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
STATIC VARIABLES, STATIC METHODS & STATIC BLOCK - JAVA PROGRAMMING
22:40
Sundeep Saradhi Kanthety
Рет қаралды 239 М.
Java Main Method Explained - What Does All That Stuff Mean?
7:10
Coding with John
Рет қаралды 248 М.
public, private, and static in Java
5:21
Neso Academy
Рет қаралды 259 М.
USAGE OF THIS KEYWORD - JAVA PROGRAMMING
11:12
Sundeep Saradhi Kanthety
Рет қаралды 105 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 424 М.
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
4. Why public static void main(String args[ ]) ? JAVA
13:18
Abdul Bari
Рет қаралды 95 М.
METHOD OVERRIDING - JAVA PROGRAMMING
19:27
Sundeep Saradhi Kanthety
Рет қаралды 168 М.
#24 Methods in Java
11:30
Telusko
Рет қаралды 283 М.
THREAD SYNCHRONIZATION - JAVA PROGRAMMING
43:08
Sundeep Saradhi Kanthety
Рет қаралды 112 М.