Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Feb 22, 2022

Functions

A function is a block of code that performs a specific task. If some functionality is performed at multiple places in software, then rather than writing the same code, again and again, we create a function and call it everywhere. This helps reduce code redundancy. Functions make maintenance of code easy as we have to change at one place if we make future changes to the functionality. Functions make the code more readable and easy to understand.
Types Of Methods
In this blog, we will be learning about Types Of Methods.
Method Calls in Java
 In this blog, we will be covering method calls in Java.
Static Blocks In Java EASY
Static blocks in Java can be created using the static keyword. The static blocks in Java are automatically called once every time a Java class executes.
Static and Instance Methods in Java MEDIUM
Instance methods in Java require an object of the class, while static methods can be called directly from the class without an object.
Why Main Method is Static in Java? MEDIUM
In this article, we have discussed about why main method is static in Java and several parts of main() method.
Author Rashi
0 upvotes
Method Overriding In Java EASY
Method overriding in Java allows a subclass to provide a specific implementation of a method already defined in its superclass.
Dynamic Method Dispatch in Java MEDIUM
In this blog, we will discuss about dynamic method dispatch in Java. We will discuss some examples based on it.
Can we Overload or Override static methods in java? MEDIUM
This blog covered the topics of Overloading and Overriding static methods in java.
Method Hiding in Java EASY
This article will discuss the method hiding in java in detail with the help of some examples.
Call by Value and Call by Reference in Java
This blog will discuss two methods, namely ‘Call by value’ and ‘Call by reference'.
Collections swap() method in Java with Examples EASY
The Swap function in java as the name suggests is use to swap two values of a particular array with each other.In programming languages like Java we have to frequently use this swap function in different scenarios.
Java Math.round() method with Examples EASY
The Java Math library provides a Math.round() method, which helps to round off decimal values to its nearest integer.
Power Function in Java EASY
Power function in java is typically implemented using the Math.pow() method. It calculates the power of a given base to a specified exponent, providing a convenient way to perform exponentiation in Java programs. Read on to lean more!
Math pow EASY
In this article, we will discuss math pow, its implementation, and its usage in programming languages with some examples.
Collections.reverseOrder() Method in Java with Examples EASY
The reverseOrder() method in Java's Collections class helps sort a collection in reverse order by returning a special tool called a comparator.
Java Scanner Nextdouble() method MEDIUM
This article incorporates information about the Scanner class and nextDouble() method of the Scanner class.
parseInt() Method in Java MEDIUM
This blog will discuss the parseInt() Java method in detail along with some examples that explain its implementation in programs.