All articles

Python

How to use Python Ternary Operator

In this article, we are going to discuss how to use python ternary operator and implementing nested-if-else with ternary operator along with basic examples Ternary Operators are also…

NumPy

Arithmetic Operations on NumPy Arrays

In this tutorial, we will see how to perform basic arithmetic operations, apply trigonometric and logarithmic functions on the array elements of a NumPy array. We will also…

Django

Python Django Helloworld Example

mkdir Django-HelloWorld cd Django-HelloWorld/ python3 -m venv env source ./env/bin/activate For Windows users, to create and start a virtual env: virtualenv env env\Scripts\activate The virtual environment is now…

Java

Overriding vs Overloading in Java

Overriding vs overloading is regarded as one of the famous interview questions asked from Java at numerous companies by plenty of programmers. Overriding vs Overloading: There are some…

OOP Concepts

OOPS – Java Access Modifiers

Java access modifiers determine whether a particular class can access the data members/methods or not. The access modifiers specify the scope of a class, variable or a method.…

Python

User defined Exceptions in Python

In this tutorial, we will learn how we can create our own customized and user-defined exceptions in Python. 1. What are exceptions and how to handle them? To…

Python

How to Handle Exceptions in Python

Hi everyone, In this tutorial, we'll be learning about Exception Handling in Python. 1. Exception Handling in Python In Python, there are (at least) two distinguishable kinds of errors:…

Java

Exception Chaining and Debugging Example

Exception chaining is an important feature of Java which allows one exception in a program to be associated with another exception. The purpose of using a chained exception…

Java

How do we Handle Exception in Java

Exception Handling in Java In the previous tutorial, we have discussed what is an Exception and the different types of exceptions in Java. In this tutorial, we are…

Java

A Complete List of Java15 Features

In this tutorial we'll learn about the Features of Java15 and how is it different from the previous versions. Introduction Java 15 and its Java Development Kit 15…