How to split a string in java

Posted Posted in Core Java

Here are some approaches to split a String in Java.   Using String.split() method Using StringTokenizer   Splitting a string using the split() method   Here is the syntax of the split() method :   public String[] split(String regex, [int limit])   Here, regex is a regular expression that will act as separator for the […]

MVC, MVP and MVVM Design Patterns

Posted Posted in .net,

In this article, we will discuss on 3 most important design patterns for software development. MVC Design Pattern MVP Design Pattern MVVM Design Pattern MVC Design Pattern:   MVC stands for Model-View-Controller. It is a software design pattern which was introduced in 1970s. MVC design pattern splits an application into three main aspects: Model, View […]

Design Patterns overview in C# (Part – 2)

Posted Posted in .net,

We have already discussed on Design pattern overview and Creational design Patterns part 1 here. Please go through part 1 before proceeding for Part 2.   In this article we will understand structural Design Patterns. That Includes: Adapter Design Pattern Bridge Design Pattern Composite Design Pattern Decorator Design Pattern Façade Design Pattern Flyweight Design Pattern […]

Difference Between IEnumerable, ICollection and IList Interface in C#

Posted 3 CommentsPosted in .net,

In this article, we will understand: What is IEnumerable interface and when to use it? What is ICollection Interface and When to use it? What is IList  Interface and When to use it?   IEnumerable Interface: There are two different interfaces defined in the .NET base class library.There is a non-generic IEnumerable interface and there is […]

Inversion of Control, Dependency Injection and Service Locator in C#

Posted 4 CommentsPosted in .net,

In this article, we will learn:   What is Dependency Inversion Principle (DIP) What is Inversion of Control (IOC) What is  Service Locator? What is Dependency Injection? Difference between DIP and IOC (DIP vs IoC) Difference between Dependency Injection and Service Locator (DI vs SL)   Many developers get confused with the term Dependency Injection. mainly […]

Top 20 ASP.NET MVC Interview Questions

Posted Posted in .net, ASP.Net MVC, Interview questions

1.What is MVC or Explain the overview of MVC (Model-View-Controller)? MVC (Model-View-Controller) is an software design pattern that decouples various components of a web application. By using MVC pattern, we can develop applications that are more flexible to changes without affecting the other components of our application.  “Model”, is domain data.  “View”, is user […] Interview Questions (Part-1)

Posted Posted in .net,, Interview questions

In this article,We will discuss few interview questions with answers for beginners and experienced professionals. 1.What is the Postback in ASP.NET? A postback is a request sent from a client to server from the same page, user is already working with. Add a new ASP.NET web form page to a project e.g. WebForm1.aspx. View […]