Creating Navigation Window Application Using WPF in C#

In this article, I will explain Creating Navigation Window Application Using WPF in C#. To begin with, let us first understand what a navigation window is. Navigation Window Basically, we create a navigation window using the Navigation class. Further, the Navigation class is a subclass of the Window class. Therefore, it inherits all the properties, methods, and events from the […]

Overview of Struts Architecture

In this article, I will discuss struts architecture. Basically, a Java-based dynamic web application comprises servlets and JSP files. While servlet API along with JSP is sufficient to create a web application. But still, application development becomes easier with the use of frameworks. So, the use of a framework reduces both development time and effort. In fact, the use of […]

Find Intersection Using Arrays

This article explains how to Find Intersection Using Arrays in C#. Basically, the intersection is a set operation. In general, we compute intersection by taking the common elements from two sets. For instance, consider the following example. The following code shows how to find intersection using arrays. As can be seen in the code, the maximum number of elements in […]

An array of Objects and Object Initializer

In this article, I will explain how to use An array of Objects and Object Initializer in C#. To begin with, let us first understand what is an array. Basically, an array is a collection of elements, all of which have the same data type. Further, in a programming language such as C#, we can have both the built-in types […]

VB Dot NET Practice Exercise

The following VB Dot NET Practice Exercise will help you learn and practices this language. Basically, VB.NET is for Rapid Application Development (RAD). Further, the following exercise contains both Console applications and Windows Forms applications. List of Programs in VB Dot NET Practice Exercise This VB Dot NET Practice Exercise also contains solutions to these programs. 1) WAP to display “Hello World” […]

Find Mean, Median, and Mode in a List in Python

The following code example shows how to Find Mean, Median, and Mode in a List in Python. While, we find mean by summing up all elements in the list, the procedures to find median, and mode are different. In fact, the median is the middlemost element. Therefore, we need to choose the element at the middle index in the list […]

Find Prime Numbers in Given Range in Python

Today I will explain a simple application to Find Prime Numbers in Given Range in Python. In order to find the prime number in the given range, first, we need to set the range. For this purpose, we take two variables – upperlimit, and lowerlimit respectively. Also, take the input from the user in these two variables. Further, we need […]

JSTL Tags for Decision Making and Loop

This article discusses the JSTL Tags for Decision Making and Loop. Basically, in Java, we have if and switch…case statements for decision making. Likewise, we have for loop, while loop, and do..while loop in Java. JSP Tag Library (JSTL) provides several tags for decision-making and loops. While, the c:if tag works like an if statement in Java, there are three […]

More JSTL Examples

This article contains some more JSTL Examples. To begin with, the three tags that provide the functionality of the switch…case statement in Java are discussed. c:choose Tag Basically this tag work like the switch…case statement in Java and provides a mutually exclusive conditional operations. c:when Tag Likewise, the c:when tag works as a Case statement in switch….case statement of Java. Therefore, witin the c:choose tag, we can specify several c:when tags according […]

When and How to Use JSTL Tags

In this article, I will explain When and How to Use JSTL Tags. Basically, we can use JSTL tags in place of the scriptlet. When to Use JSTL Tags? In general, we use the JSP Tag library in the following situations. For the purpose of reducing the number of lines of code, the corresponding JSTL tag is a good choice. […]