Programming

Programming is a way to instruct computers to perform certain tasks by communicating that through a language understandable to them.

Abstraction in Java

Abstraction in Java

The abstraction design pattern is an essential part of object-oriented programming. In other words, it allows us to define an interface and then derive smaller and smaller implementations of the interface until only what we need remains. This blog post aims to explore Java's built-in abstraction mechanisms and how to

Blog | Board Infinity
Blog | Board Infinity
Java
String formatting in Python

String formatting in Python

Concatenation's Formatting Rules print("Hello"+name) The easiest approach to learn is this one because it is the most basic. Additionally, it's how I like to teach a beginner programmer. It is simple to understand even without any prior coding experience by using the portions in the literal order and

Blog | Board Infinity
Blog | Board Infinity
String
XML and JSON: Explanation and Differences

XML and JSON: Explanation and Differences

Introduction JSON and XML are text-based, human-readable file formats that can be created, read, and decoded in real-world software. Both are hierarchical text notations for data exchange that are not language-specific. Despite sharing some characteristics, they vary in several ways, including data formats, verbosity, tool stack, etc. While JSON is

Blog | Board Infinity
Blog | Board Infinity
XML
Class Methods in Python

Class Methods in Python

Introduction In Python, usually we use class-specific methods called instance methods that are connected to instance variables. Within the same class, instance methods have access to instance variables. You must first build a class instance in order to call instance methods. The Person class is described as follows: class Person:

Blog | Board Infinity
Blog | Board Infinity
Classes
Thread Priority in Java: What is it & How to set?

Thread Priority in Java: What is it & How to set?

Overview of Thread Execution JVMs support a scheduling algorithm called fixed-priority preemptive scheduling. Java threads have priorities, and the JVM serves the highest priority first. Whenever we create a Thread, it has its default priority.  If multiple threads are waiting to run, the JVM selects the highest-priority thread and executes

Blog | Board Infinity
Blog | Board Infinity
Java
Modules in Python

Modules in Python

Introduction Modules in Python are simply Python files with the .py extension, which implement a set of functions. Modules are used to organize code and make it reusable across multiple projects. One of the benefits of using modules is the ability to define a set of functions in a single

Blog | Board Infinity
Blog | Board Infinity
Python
HashMap in Python

HashMap in Python

Introduction Hash maps are the indexed Data Strutures. When creating an index with a key into an array of buckets or slots, a hash map uses a hash function. The bucket with the corresponding index is linked to its value. The key is distinct and unchangeable. Imagine a hash map

Blog | Board Infinity
Blog | Board Infinity
Python
Stack in Python

Stack in Python

Introduction * A stack is a data structure that allows you to store and retrieve data in a last-in, first-out (LIFO) manner. A stack is a restricted data structure because you can only insert and delete data at the top of the stack. * A real-world example of a stack is a

Blog | Board Infinity
Blog | Board Infinity
Stack
Programming Paradigm: What is it?

Programming Paradigm: What is it?

Introduction A programming paradigm is a method, a strategy, or a technique of writing programmes in a particular programming language to address a problem. You might be wondering what method or style we're referring to. It is a method for constructing programmes and objects in object-oriented programming, for resolving issues

Blog | Board Infinity
Blog | Board Infinity
Programming
Counting Sort Algorithm: Using C++

Counting Sort Algorithm: Using C++

Introduction In this article we will be discussing the counting sort. Counting sort is a sorting algorithm. In technical interviews, sorting algorithms are generally asked so this article is extremely important. So, let’s begin decoding counting sort with full focus on!! Counting sort does not sort by comparing elements.

Blog | Board Infinity
Blog | Board Infinity
Programming