Text editors are software programs that enable the user to develop and edit the text files also it refers to a source code that includes a number of features for writing or editing the code. Using the inheritance for subclassing in object-oriented programming makes good sense for reusability or extendibility. With the help of design patterns, for example, model view controller, listener, observer for singleton pattern can be a good option. the most prominent text editors which are frequently used by programmers today are Vim, Eclipse, visual studio, Vmacs and many more.

BY Best Interview Question ON 17 Oct 2019