Column Output Java Console Application | Java printf | Java Tutorial NEW 2020

preview_player
Показать описание
#JavaOutput #JavaColumnOutput #JavaTutorial #JavaPrintf
Column Output Java Console Application | Java Tutorial NEW 2020
Like, Share, And Subscribe | Professor Saad Yousuf

CODE:
-------
public class JavaColumnFormat {
public static void main(String[] args) {
int id1 = 3456, id2 = 5757;
String name1 = "Saad Yousuf", name2 = "John Petersen";
double gpa1 = 3.91, gpa2 = 3.9;
}
}
Рекомендации по теме
Комментарии
Автор

I was looking for how to print data in tabular form for hours now and finally, this video helped. Thank you so much!

sarthakchauhan
Автор

Finally I found what I need!! Was to lazy to read the docs 😅. Thank you!

Tony.Nguyen
Автор

Thank you man, thats just what I wanted to know

maxgurov
Автор

You save my life, thank you professor 🙏

nigcholasgarcia
Автор

Thank you so much for this, Helped me out a lot :) :)

joybrar
Автор

thanks bro. I found this very helpfull to me. thanks again.

naatr
Автор

Thank you soo much. It was very helpful :)

jxhzxn
Автор

Thank you for your video. I want to know how to display say for example I have created two classes (one is dritems and another one is crItems of five member variables which having values), how to display them side by side?

manoharsagunthalla
Автор

hi, how can you print a $ sign for example in front of the 3.91 gpa for example

azhua
Автор

Hey .. Buddy Are u Active..
Plz Trynna rply ..
Need Help!

anassaif
Автор

How to do you print currency with thiss??
Plzz answerr

fatimaagha
Автор

System.out.printf("%-6s%-8s%-10s%-12s%-14s\n", "Bike No.", "Phone No.", "Customer Name", "Days", "Charges");
System.out.printf("%-6s%-8d%-10s%-12d%-14d\n", bno, pno, name, days, charge);
Can You Please Help Me... Output Is Not Showing In A Tabular Format

avsatreyaa