Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Programming Articles - Page 277 of 2501
483 Views
Servlets are small java modules that are used on server side of a web connection to enhance the functionality of web server. All the methods and classes for creating a servlet are available in ‘javax.servlet’ and ‘javax.servlet.http’ packages. Hence, it is important to import them into your program before working with the servlet. In this article, we will develop a simple bill splitter application using Java Servlets. Before starting, make sure you have installed the NetBeans IDE and Apache Tomcat server. Steps to build Simple Bill Splitter To develop this application follow these steps − Step 1 Open your ... Read More
2K+ Views
Separators are one of the building blocks of a Java program that helps us to differentiate the regions of the block of code and arrange groups of codes or statements. They help us in defining scopes of particular variables and methods. Have you ever missed a bracket while defining a method or semicolon at the end of a statement? We all do this silly mistake every time we code. In this article, we are going to explore the importance of these separators and what would be the consequences if we neglect them. Seperators available in Java Being a programmer we ... Read More
556 Views
Array is a linear data structure that is used to store a group of elements with similar datatypes. It stores data in a sequential manner. Once we create an array we can’t change its size i.e. it is of fixed length. The problem statement states that for a given array we have to find the minimum product of its subset. In this article, we will try to find the solution to the given problem. Program for minimum product of subsets Example 1 Let’s try to understand the problem and possible solution through an example. For the above ... Read More
2K+ Views
The Serializable interface provides the facility to serialize an object. It does not define any methods and member variables. When a class implements serializable interface it simply indicates this class and its sub-classes can be serialized. The serializable interface serves to achieve the Serialization and Deserialization of an object. In this article, we will discuss the use of Serializable Interface in Java with examples. Serialization and Deserialization in Java Serialization is a mechanism used to represent a given object into a sequence of bytes and its opposite is deserialization which represents a sequence of bytes into an object. Other ... Read More
516 Views
The term ‘Polygon’ originated from the Greek words ‘Poly’ which means ‘many’ and ‘gon’ which means ‘angle’. A polygon is a two dimensional closed plane shape created by connecting three or more than three straight lines. For example, triangle, quadrilateral, hexagon and so forth. Although there are many ways to find the area of a polygon in this article, we will use the slicker algorithm for this purpose. Slicker Algorithm to Find Area of a Polygon Slicker Algorithm Two facts you must know, First, according to mathematical convention the y-direction points upwards are always positive. Second, according to computer ... Read More
7K+ Views
In this tutorial, we will learn how to display notnull rows and columns in a Python dataframe with the help of some libraries. We will be using the Pandas library in this tutorial. A dataframe is a data structure in pandas similar to an Excel sheet or a SQL table. It is a two-dimensional labeled data structure that can hold multiple columns of potentially different types of data such as integer, float, string, etc. Pandas provides a powerful data structure, "dataframe" and other useful methods to work on huge data. Approach 1 One way to display the non-null rows and ... Read More
9K+ Views
In this tutorial, we will learn how to display the most frequent value in a Pandas series with the help of Python. We will be using the Pandas library in this tutorial. A series is a data structure in pandas that is similar to a column in an Excel sheet or a SQL table. It is a one-dimensional labeled data structure that can hold different data types such as integer, float, string, etc. The most frequent value is the one that appears most often in the series. In mathematical terms, it is the mode of the data. Approach 1 One ... Read More
23K+ Views
In this tutorial, we will learn to delete only one row in csv with python. We will be using the Pandas library. Pandas is an open-source library for data analysis; it is one of the most popular python libraries to investigate the data and insights. It includes several functionalities to perform operations on data sets. It can be combined with other libraries like NumPy to perform specific functions with the data. We will use the drop() method to delete the row from any csv file. In this tutorial, we will illustrate three examples to delete the row from the csv ... Read More
379 Views
Introduction Welcome to this informative article on how to create a TCL script that performs arithmetic operations using switch statements. As an integral aspect of the powerful and versatile TCL programming language, mastering switch statements is crucial for optimizing code efficiency and control flow within your scripts. In this post, we will explore the basics of switch statements in TCL scripting and learn how to use them effectively when performing various arithmetic operations such as addition, subtraction, multiplication, and division. Understanding Switch Statements in TCL Scripting Switch statements are a powerful control structure in the TCL scripting language, allowing ... Read More
462 Views
In data analysis and visualization, there are many types of plots that are used to convey information in a concise and meaningful manner. One of the popular types of plots is the Violin plot, which is useful for visualizing the distribution of a numeric variable for different categories or groups. The Violin plot is similar to a box plot, but it provides more information about the distribution of the data by displaying a density plot on top of the box plot. In this tutorial, we will learn how to create a Violin plot with data points in Seaborn using our ... Read More