39 - Methods in Java (Hindi/Urdu)

Опубликовано: 16 Июль 2026
на канале: Uncovering Technologies
8,888
262

LIKE, SHARE & SUBSCRIBE

Methods are a crucial part of a Java class. These methods are used to provide functionalities to our Java class.

In C/C++ programming languages these methods are known as functions.

These functionalities define the behaviour of our class.

There are two types of Methods in Java :
1) Non - Parameterized Methods
2) Parameterized Methods

Non - Parameterized Methods do not accept external values, but a Parameterized Methods accept external values.

These external values are known as arguments and we provide these arguments to our methods by creating a space where these values get accepted. These space are known as parameters.

Every method in Java must have a return statement but in case of a void type method, it doesn't need a return statement.

We can create a primitive data-type method as well as a non-primitive data-type method in Java.

Objects & Classes In Java :
Part - 1 :    • 37 - Classes and Objects in Java (Part 1) ...  
Part - 2 :    • 38 - Classes and Objects in Java (Part 2) ...  

Links of the Java codes used in the video.

Example 1 :
https://drive.google.com/open?id=1w5x...

Example 2 :
https://drive.google.com/open?id=114j...

Example 3 :
https://drive.google.com/open?id=1mL3...

Example 4 :
https://drive.google.com/open?id=1gD1...

Example 5 :
https://drive.google.com/open?id=1rUS...

Example 6 :
https://drive.google.com/open?id=1xr2...

Example 7 :
https://drive.google.com/open?id=1OVh...

Thanks for watching and stay tuned.

Like us on Facebook - https://goo.gl/y7oxYc
Follow us on Twitter - https://goo.gl/UKmTfn