Some of the significant extension methods used in Kotlin are-

  • Read texts () - it is helped to read the content present in files to a single string
  • Buffer reader () - it is used to read the files to buffer reader
  • Read each line () - it is used to read the lines by the following line after line
  • Headlines () - it helps to read the content for listing.
BY Best Interview Question ON 07 Oct 2019