Tag: functions
-
JavaMethods in Java
A method is a block of code, a group of statements, or a set of code that performs a specific…
May 12, 2022
-
JavaConstructor in Java
Java constructors or constructors in Java are terminologies used to construct something in our programs. A constructor in Java is…
May 13, 2022
-
PythonInput and Output in Python
Two built-in functions in Python are used to perform input and output operations (OI Operations). The two built-in functions for…
November 20, 2022
-
PythonString Functions – II
Table of Python String Methods. Function Name Description capitalize() The string’s first character is changed to an uppercase (capital) letter….
November 24, 2022
-
PythonUser-Defined Functions in Python
A function is a collection of statements that accept input, perform some specific computation, and return output. The idea is…
December 6, 2022
-
PythonConstructor in Python
What is a Constructor? A constructor is a special method (function) used to initialize the class’s instance members. The main goal…
December 9, 2022
-
Pythonthreading Module In Python
Python threading, as we saw in the previous tutorial, allows us to run different parts of our program concurrently, which can…
December 30, 2022
-
PythonThread class and its Object
The Thread class in Python’s threading module is used to create and manage threads. We can extend this class to…
December 31, 2022
-
PythonPython __name__ Variable
Because Python lacks a main() function, when the command to run a Python program is given to the interpreter, the…
January 11, 2023
-
PythonRecursion in DSA
What is Recursion? In computer science, recursion is a strong programming technique that is used in many algorithms and data…
May 13, 2023