String str = String.format( "Hello \n World \n my name is %s and i'm %d years old" , "Paul", 27);

formartted string java

Similar Code Examples