Finally, you give a good concept. Thanks for sharing
@sadbhavanadas60214 жыл бұрын
Sir, really it's a great platform for learning Java.Can we get few list of questions for Java Programming which will be helpful to us to practice the codes
@SK-gp6cm2 жыл бұрын
Bro can you send me practice programs
@devesh85374 жыл бұрын
Woww literally shocked by your teaching very clear explanation keep rocking bro🔥🔥
@koradabhushan15483 жыл бұрын
Sir you are really great for better explaination
@ind-ram6 жыл бұрын
first view of this nice video
@azharshaikh96422 жыл бұрын
Wowww just amazing
@kogilathotavijayreddy49632 жыл бұрын
Your videos are helpful...
@rohithbandi16523 жыл бұрын
Sir you are super❤️ , concepts are easily understandable
@anusrikamidri72992 жыл бұрын
Ur explanation is so good sir Can u please give lecture on wrapper classes sir?
@ind-ram6 жыл бұрын
makes more videos on java programming
@virat49502 жыл бұрын
excellent sir 👍👍😍😍
@abhijitmondal92035 жыл бұрын
What if I don't ever use any sort of command-line arguments....do I still need to mention the args[] as a parameter in main()? Because, in such case I don't see any need of this args[]. Thanks in advance!
@manaligadre66904 жыл бұрын
@Sundeep sir !! Can you please answer this question.
@sundeepsaradhi4 жыл бұрын
hi even though you are not using any inputs through command line we have to pass an array args[] inside the main function. compiler will search the main with the format so we have to include this args[].
@manaligadre66904 жыл бұрын
Sundeep Saradhi Kanthety Got it!! Thanks sir :)
@harinihar24682 жыл бұрын
Thank-you for the q&a
@SK-gp6cm2 жыл бұрын
@@sundeepsaradhi sir can you plz give me notes of Java and python plz
@pdpaxpv Жыл бұрын
Finally I understand String args[] lol...... Thanks!
@rinkykumari44704 жыл бұрын
Good explanation
@amitkoushik55042 жыл бұрын
Hello sir just a small correction at 9:41 ,we can save a java file with any name , there is no relationship between the file name and the class name consisting of the main method. The relationship is there between the public class name and file name , if a class is declared as public then only it's fine name should be the same as the class name. Thank you.
@pradeepnaidu11323 жыл бұрын
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at Add.main(Add.java:6)
@vigneshwaran35405 жыл бұрын
sir c is declare as integer by why you didn't write IntegerparseInt() function for variable since the system takes it as the string
@sundeepsaradhi5 жыл бұрын
hi here c is the output variable so output is addition of two integers which will always be integer so we need not go for typecasting. Hope your doubt has been clarified.Thanks for your support towards our channel.
@chandramohan93954 жыл бұрын
Hi sir nice explanation I have a doubt If we give an input as 5 then the output should be five can u print this using clm??
@fenil8615 жыл бұрын
Sir can we determine the size of args[] and what if we don't write the String args[] as arguments but we input numbers by scanner class. Will the program be successfully executed or there will be an error?
@navyachenna6834 жыл бұрын
Yeah same doubt
@krishnakumar-tw7cl3 жыл бұрын
But great explanation
@sundeepsaradhi3 жыл бұрын
Thank you 🙂
@ΧρυσοβαλαντηςΤασιοπουλος3 жыл бұрын
Excellent presentation ! So you can declare a main function inside a body of a class? In C that is not possible !!
@nishanair39252 жыл бұрын
sir, are these 2 arguments in main() the same String args[] and String[] args. Both are seen used
@MohamedOsman-jh6ik4 жыл бұрын
Explain command line arguments
@jeevithaswamy57414 жыл бұрын
Hello sir, your explanation is good,but I have a doubt that can't we write the above program without type casting?
@durgavyboina38962 жыл бұрын
Sir, please do these core java classes in telugu sir..🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@gowthamigowthu17583 жыл бұрын
Sir please explain lab practical programs factorial of list of numbers reading input as command line argument
@adithyasundar20174 жыл бұрын
Should we give command line arguments only in Main function
@amulbabyentertainments68185 жыл бұрын
How to get many command line arguments one by one in java. Like Input : hello Output: hii Input: how r u Output: fine
@yellaadilakshmi56294 жыл бұрын
@@KumaranKM Sir did you use thread concept?
@harshithareddymanazipet2603 жыл бұрын
sir, if we write scanner in the function what changes will be made in output and input
@pravinshinde31775 жыл бұрын
if we are not using cmd(using eclipse) then we no need to write like integer.pareseInt(arg[]) please rectify my doubt.
@sundeepsaradhi5 жыл бұрын
Hi Even though you are not using command line arguments the input is taken as string so we have convert the data type
@durgavyboina38962 жыл бұрын
Your teaching was fabulous but we can't understand in english so, please do in telugu sir..!🙏🙏🙏🙏🙏🙏
@_random__vlogs_4 жыл бұрын
What is the usage or advantage of using this buffer reader?
@sundeepsaradhi4 жыл бұрын
Hi Budferedreader is also used to take inputs from a file or keyboard
@edhisangatulu4 жыл бұрын
Sir please upload tutorial on c program
@ramneelavlogs3 жыл бұрын
hi sir im a begginer to java (sry about my silly doubts ): The command line argument passing you are refering to : is it the console in IDE or the actual command prompt in windows for the user to pass the value.
@user-mb1gx5sb4d3 жыл бұрын
Its command prompt where we compile and execute the file(typed in notepad).
@krishnakumar-tw7cl3 жыл бұрын
Subtitles is good sir but it is some disturbing to program is not visible in bottom so
@saivivekkammari88514 жыл бұрын
got an error. below is my code. Please tell me whats the mistake in my code class Add1 { public static void main( String args[2]) { int a,b,c ; a = Integer.parseInt(args[0]); b = Integer.parseInt(args[1]); c = a+b; System.out.println(c); } } #error Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at Add1.main(Add1.java:5)
@sundeepsaradhi4 жыл бұрын
Hi Vivek Not require to mention the size of argument array in main . So write public static void main(String args[ ]).
@r-39amratprajapati763 жыл бұрын
Sir I have problem of explanation thread main java.lang.arrayindexoutofboundsexcpetion :2 what I do?
@manaligadre66904 жыл бұрын
You are my god!
@sivasiva54552 жыл бұрын
Sir i am execute the program,it shows no error,but to run the program it shows ArrayIndexOutOfBound Exception can you clarify please
@pixiedust..97892 жыл бұрын
Sir, why is it a STRING ARRAY by default? Can it be int args[ ]? If not, why?
@swamyvedurupaka4236 Жыл бұрын
Other to string conversion is easy and most of devlopers used string data type.
@pdpaxpv Жыл бұрын
String is universal. Suppose you write: java program 56 43 abc. It will throw an exception right there, because you declared args as int. But String will receive any value and parse it into anything you want.
@backtoheaven95814 жыл бұрын
hii sir what about System.err??
@ravikumar-pw3zx4 жыл бұрын
Sir i have a big doubt why we use this CMD line simply we can use scanner class. ok we use this CMD then what is the advantage?
@kamaleshs5374 жыл бұрын
Because...the time completion to run the program is lesser than compared to Scanner class.....
@rishikasahu33194 жыл бұрын
Sir, I write the same program in TCS DRC test, but it was showing arrayIndexOutOfBound error
@srujanpalavarapu15203 жыл бұрын
Same here, did you find the solution? Please explain if you got it.
@sanm33384 жыл бұрын
thank you !
@knoorjahan2265 жыл бұрын
I have a doubt !! If we want to inform the user to enter valid data through commandline . How do we achieve that? Means validating user input and informing him to enter valid data if he enters valid data through commandline itself
@danieltornero55235 жыл бұрын
You can use try-catch
@mohammedabrar6220 Жыл бұрын
Sir why you not show the program in eclips so we can easily understand it
@jangammohankalyan82583 жыл бұрын
When we run that program it was showing arrayindexboundexception
@testingt9762 Жыл бұрын
Sir array declaration portions missing
@jayapalselvam78382 жыл бұрын
Sir it showing ArrayIndexOutOfBoundException
@mohitprajapati40436 жыл бұрын
Sir , What is CMD ?
@sundeepsaradhi6 жыл бұрын
Hi mohit Assume the file name is saved as CMD.java Hope your doubt has been clarified. Thank you for watching our channel and share my sessions with your friends and keep following our channel
@mohitprajapati40436 жыл бұрын
@@sundeepsaradhi Yes Sir my Doubt is clear Now Thanks for giving lectures I am sharing your Channel as much I can👍👍
@sudarshanv97973 жыл бұрын
there is one thing wrong in this video, that is we can't run .class file using java command. we can only run .jar file, because it has executable code of our program, .class file is just a compiled file, we can still read a .class file using java code editor, but we can't read a .jar file because it has bytecode in it.
@chirusetturu635 жыл бұрын
Gd after noon sir ,it shows error during compilation
@kamaleshs5374 жыл бұрын
Yes...here you must create an object using Bufferedreader,because there we typecasting the integer values to string.................hope u understand it....🙂🤗
@pesgamer003 ай бұрын
Jose present
@narsibhupathi27025 жыл бұрын
I got errors while using those type cast methods
@KeerthanaLM-u3n8 ай бұрын
I am confused for what is byte code
@sriharshakamojhala40345 жыл бұрын
hi sir i have doubt where did you buy your tshirt .its very good looking hot
@velumani23722 жыл бұрын
Sir please dubbing in tamil
@walkeranil37705 жыл бұрын
why did u write Intege.paseint
@knoorjahan2265 жыл бұрын
Whatever we enter in command line will be in the form of string to convert it to integer we use integer.parseInt();
@akhandbharat48553 жыл бұрын
@@knoorjahan226 can you have larger number program using compand line program