Ruby Developer Question:

Download Job Interview Questions and Answers PDF

What is the difference between put and putc statement?

Ruby Developer Interview Question
Ruby Developer Interview Question

Answer:

Unlike the puts statement, which outputs the entire string onto the screen. The Putc statement can be used to output one character at a time.

Download Ruby Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the syntax for Ruby collect Iterator?Tell me how can we define Ruby regular expressions?