balamt/ October 10, 2019/ Code, Interview, Java, Program/ 0 comments

Interview Questions

Refer this for preparing yourself on how to write java program to print patterns (Note: NOT Design Patterns)
  • Start Pattern
  • Number Pattern

Star Pattern

 Print pattern like below, By giving the max length of the print.  (max. length is 5)
(max. length is 5)

Number Pattern

Just a Note

There are N-ways of writing the above codes, please feel free to explore by playing around it.
Share this Post

Leave a Comment