From 25d23553bffc639c5c6c57f3ed42a3809e0e2b47 Mon Sep 17 00:00:00 2001 From: Kartikey Verma <91731654+kartikver15gr8@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:01:39 +0530 Subject: [PATCH] Update 103-functions.md (#1810) * Update 103-functions.md Added the content to learn Methods/Functions in Java. Kindly merge this into the main branch! Thank You! * Update content/roadmaps/110-java/content/100-java-fundamentals/103-functions.md Co-authored-by: Kamran Ahmed --- .../content/100-java-fundamentals/103-functions.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/110-java/content/100-java-fundamentals/103-functions.md b/content/roadmaps/110-java/content/100-java-fundamentals/103-functions.md index cebcc2697..1e9fd05f6 100644 --- a/content/roadmaps/110-java/content/100-java-fundamentals/103-functions.md +++ b/content/roadmaps/110-java/content/100-java-fundamentals/103-functions.md @@ -1 +1,10 @@ -# Functions \ No newline at end of file +# Functions + +A method/function is a way to perform some task. Similarly, in programming like Java, a function method is a block of code written to perform a specific task repeatedly. It provides reusability of code. We write the function once and use it many times. It works on the 'DRY' principle i.e., "Do not repeat yourself". + +Free Content + +Methods/Functions in Java. +What are methods or functions in Java. +Learn Functions/Methods in Java +Functions / Methods in Java