ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
why we use printf ?? and why we use %s %d ?? in java we not write in this way??
same doubt
%d for integer and %s for string and printf bcoz for formating specifier it will be happen.
normally with println we won't be able to print different data types without using +
when we are using % d like format then
%s Means String & %d means Place holder.
thank you Sir keep us teaching
good job
thank you
Thank you so much
am i the only one who is not understanding the basics also
Practice more , u will get good understanding
@@dev.19.community can you tell me what kind of problems should I practice to understand from scratch
Could You explain me? ki apne string values ko access krne ke liye only next ka use kyo kiya instead of nextLine().
Because next () is used when there's a single word as it doesn't read after space and nextLine() is used when we have more than one word..it reads an entire line
why you used printf insteaadof println()
Because it is mentioned in the problem it self.
Kuchh jyada over ho gya
public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println("================================"); String space = "" ; for(int i=0;i
Thank you
why we use printf ?? and why we use %s %d ?? in java we not write in this way??
same doubt
%d for integer and %s for string and printf bcoz for formating specifier it will be happen.
normally with println we won't be able to print different data types without using +
when we are using % d like format then
%s Means String & %d means Place holder.
thank you Sir keep us teaching
good job
thank you
Thank you so much
am i the only one who is not understanding the basics also
Practice more , u will get good understanding
@@dev.19.community can you tell me what kind of problems should I practice to understand from scratch
Could You explain me? ki apne string values ko access krne ke liye only next ka use kyo kiya instead of nextLine().
Because next () is used when there's a single word as it doesn't read after space and nextLine() is used when we have more than one word..it reads an entire line
why you used printf insteaadof println()
Because it is mentioned in the problem it self.
Kuchh jyada over ho gya
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("================================");
String space = "" ;
for(int i=0;i
Thank you