Category Archives: Programming Language

Python Modulo in Practice: How to Use the % Operator

In Python, you will get all the important arithmetic operators, which operate on Python numeric data types. And one of the important Python Arithmetic operators is modulo, represented by the percentage symbol (%). Like other Python arithmetic operators, modulo operator (%) operates between two numbers and returns the remainder by dividing one number with another. Here in this… Read More »

Java Enum Example

Introduction Java Enums are used to define constants. Rather than declaring common categories of constants as individual strings, we can categorize and declare them as Enums. In this article, we will discuss how to declare Enums, use Java Enum in a for loop and Java switch case, and how Java Enums can be used in if/else statements. Some… Read More »

Java JDBC Insert Example

Introduction Web applications collect data from the user through the User Interface (UI) and insert the information into the database. This process happens automatically without us running any database scripts or monitoring data. This magic is done by JDBC (Java DataBase Connectivity), which is a Java API to connect Java code to any database. What is JDBC (Prepared)Statement… Read More »

Java String to Int

Introduction In Java, a lot of data is stored as objects rather than primitives. A string is an object, whereas int is a primitive data type. The advantage of objects is the ease of manipulation and storage. If we need any calculations to be performed, it is easy to convert String to int using various methods. Java also… Read More »

Java Queue

Introduction In Java, Queues are used for pushing in data and retrieving it later. Queue follows the principle of FIFO i.e. First In First Out. In this article, we will discuss the most important methods of Java Queues and give a good amount of Java Queue examples to further the learning process. How to use Java Queue: Examples… Read More »

Python Developer Skills

Python is hot right now; according to TIOBE, November 2020 Index, Python emerged as the 2nd most popular and widely used Programming language. 2021 is around the corner, and it is the best time to learn Python. Only python coding skills are not enough to be a good Python developer. There are many other Python and computer-science related… Read More »

Best Python GUI Frameworks for Developers

In basic Python, we deal with console-based applications, where the output of our Python program is displayed on the terminal with a black background and white text. But if you want to make an interactive and graphical application using Python, you need the Python GUI frameworks and libraries. With the help of Python GUI frameworks, we can create… Read More »

How to Parse Data From JSON Into Python

JSON stands for JavaScript Object Notation and it is the most common and widely used data structure format to exchange data, between server and client. From rest APIs to NoSQL databases JSON is used everywhere. And luckily python comes with an inbuilt module json to handle JSON formatted data. Here in this Python tutorial we will explore the… Read More »