Overview
Syllabus
Introduction
Problem Statement
Methods
Syntax of a Method
Program : Sum of two numbers
Program : Greetings
Returning Values
Returning a String
Parameters Integer Function
Parameters String Function
Program : Swap two numbers
Program : Pass Value
Internal Working of Swapping Program
Program : Change Value
Scope
Method Scope
Block Scope
Loop Scope
Shadowing
Variable Arguments Varargs
Method Overloading
Questions
Q1 : Prime Number
Q2 : Check Armstrong Number
Q3 : Print All 3 Digit Armstrong Numbers
Outro
Taught by
Kunal Kushwaha