Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Difference between Servlet and JSP
Both Servlets and JSP are used in web development. The Servlets handle the logic (processing our requests and interacting with databases), and JSPs handle the presentation (displaying dynamic content on the web page). By separating the logic and presentation, our web applications become more manageable and scalable. In brief, we can think of Servlets as Java programs that run on a web server. They work as the middle layer between a request from an HTTP client (like a browser) and databases or applications on the server. When we send a request to a server, the Servlet processes that request, and ...
Read MoreJava program to count the child of root node in a JTree
In this article, we will go over a Java program that counts the number of child nodes of the root node in a JTree using Java. This program uses the getChildCount() method to retrieve and display the count of direct child nodes under the root. This is helpful for applications involving hierarchical structures, like directories or organizational charts. Steps to count the child of the root node in a JTree Following are the steps to count the child of the root node in a JTree −Import the necessary classes JFrame, JTree, and DefaultMutableTreeNode from java.swing package.Create a main class named SwingDemo.Define the ...
Read MoreCheck if a given String is palindrome using two pointer in C++
A palindrome is a word, phrase, number, or other sequence of characters that reads the same from both backward and forward sides. In strings, the palindrome strings are those strings that can be read the same from both left and right sides. In this article, we are going to learn how we can check if a given string is palindrome or not using the two-pointer technique in C++. Problem We are given a string, and we have to check if it is palindrome or not using the two-pointer method in C++. Example 1 ...
Read MoreHow To Upload and Download Files From AWS S3 Using Python?
Amazon Web Services (AWS) offers various services like EC2, S3, AWS Lambda, and Amazon SageMaker. Companies use these Amazon services to store their databases and deploy their models. In this article, we will discuss Simple Storage Service (S3) and explain how to upload and download a file from Amazon S3. AWS S3 Simple Storage Service (S3) is used to store various files on the cloud. It is secure, simple, and cost-effective. In S3, there are buckets to store files such as images, folders, videos, and audio files. We can store, download, and upload files in different ways on S3. ...
Read MoreJava program to find the surface area and volume of cuboid
In this article, we will learn how to compute a cuboid's surface area and volume using Java. A cuboid is a three-dimensional object with six faces in a rectangle shape, which means it has sides of different lengths and breadth. The difference between a cube and a cuboid is that a cube has equal length, height, and breadth, whereas these three are not the same in cuboids. Problem Statement Write a program in Java to find a cuboid's surface area and volume. Below is a demonstration of the same − Input Length= 6; Width= 7; Height= 8; Output Volume Of the Cuboid is ...
Read MoreRoadmap of Becoming a QA Engineer
QA Engineers are those who handle bugs and glitches that we face while using any application or website. The Job of a QA engineer is to handle bugs in any application or website. QA engineers make sure that the software that reaches the people is error-free and bug-free. They make sure that users have a smooth experience with applications. In this article, we are going to discuss the roadmap to becoming a QA engineer. What is Quality Assurance?Quality assurance is the method of making sure that products, especially software, work for which they are manufactured. QA engineers test software to find ...
Read MoreMakefile for add, sub, mul, and div programs in C
What is a Makefile? A makefile is a unique file used in many programming projects to produce executable programs automatically by compiling and linking them. It provides instructions on linking and compiling a program, along with a list of source file dependencies and building commands. The program called make is what reads a Makefile and runs the required commands. General format of Makefile Specify the compiler (gcc for C programming and g++ for C++ programming). Specify the compiler flags. Define target executables. Define ...
Read MoreHow to use Class in Node?
Introduction Node.js is trending as an environment where different efficient and logical applications are executed at the moment. One of them is extending modern JS syntax, for example, classes, which makes OOP in Node.js more possible to use and improve. Scroll down to learn what a class is in Node.js, how one can be defined, how methods can/must be added, subclass/superclass in Node.js, and some uses of classes in Node.js. What is a Class in Node.js? A class is a blueprint of objects that have certain characteristics and behaviors or actions. Classes were introduced in ECMAScript 2015 ( ES6) as ...
Read MoreHow to Push Anything to GitHub using Git Bash?
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Here is a step-by-step guide with examples that explains how you can push your code to GitHub using Git Bash, with creating repository to updating the code and pushing the changes back to GitHub using Git Bash.1. Install Git Bash Download Git Bash from the official Git website. Run the installer and follow the setup instructions. Once installed, open Git Bash by ...
Read MoreHow to update Node.js and NPM to the latest version?
Having the latest Node.js and NPM is crucial as developers get to have access to the new features, security fixes, and improved performance. In those tools, you need to learn the following general steps in order to update them quickly This is the simplest guide to update those two tools. Why Update Node.js and NPM? Here are some reasons why you should update Node.js and NPM − Access New Features: Every one or two updates, new features and improvements make their ways into the software. Improved Security: Updates patch and other vulnerabilities in the environment so as to remove ...
Read More