PSParvathi Somasundaramincodegallery.hashnode.dev·Jun 2, 2023 · 2 min readround() in pythonThe round() function is used for rounding off numbers up to a specified number of digits after the decimal point. Syntax: round(number, digits) number - the number to be rounded. It is a required parameter. digits - the number of decimals to use when...00
PSParvathi Somasundaramincodegallery.hashnode.dev·May 7, 2023 · 2 min readequals() VS ==equals() is a method that compares the actual content of the object. "==" is an operator that compares the memory or reference location of an object in the heap. equals() The String equals() function compares two strings based on their data/content....01S
PSParvathi Somasundaramincodegallery.hashnode.dev·May 6, 2023 · 2 min readlength VS length()length property: The length variable is used to return the size of an array, i.e. number of elements stored in an array. public class Hello{ public static void main(String args[]) { int arr[] = {1, 2, 3, 4, 5, 6, 7}; System.out.println...00
PSParvathi Somasundaramincodegallery.hashnode.dev·Dec 24, 2022 · 3 min readData Structures and AlgorithmWhy Data Structure? Knowledge about data structures helps you understand the working of each data structure. And, based on that you can select the right data structures for your project. This helps you write memory and time-efficient code. What is Da...00