Functions & Methods | Java Complete Placement Course | Lecture 7
ฝัง
- เผยแพร่เมื่อ 16 ก.ย. 2024
- Notes of this Lecture : docs.google.co...
Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
Telegram: t.me/apnikaksh...
Instagram: / dhattarwalaman
My TH-cam Gear 😉: docs.google.co...
Notes of this Lecture:
While in college I thought java is a tough language to study so I skipped that and didn't choose it for a career but after seeing these types of tutorials I change my mind thanks a lot for the free course you provide.
You are blo:O dy fool
same here i thought the same way
In which year you are in ???!!!!
5th year😂
Me too
love the examples you take reference of in between..plz keep going with this series.. great help and satisfaction
What an explanation. I really understand this topic. Thanks
You are the best teacher of Java programming
Your Lectures are helping me a lot. I've been revising Java and I can say that, this course is completely perfect. Just hoping that you'll continue this course till last..thank you 🙏😇
th-cam.com/video/-AdgUai3Jkw/w-d-xo.html
Good morning didu
C ka course bhaje dijiya na
I was using this for ICSE Class 10 revision
@@aryadebchatterjee5028 now u in class 11?
You are awesome 👏 you are explaining the difficult thing in simple way that anyone can understand. One of best Java course
r u mad? she is totally ratta riented
Icse wale baccho ko revision hogaya.!! Thank you didi
Yeah actually ❤❤😅😂😂
sem
Ur parents are so proud of you didi because of ur work🙏🙏
In finding factorial of a number
When we write
Factorial= factorial*I;
Syso ( factorial);
Then for n =5
Why the following output has not came:
5
4
3
2
1
Think about the question of printing table of any natural number using loop ... there we have used a same approach so why this is not happening again?????
Because in output statement we didn't print the ith value we print the (factorial).
So see the condition
Factorial=factorial*i
That statement will execute and give the factorial of any number by loop.
you are grateful and diamond of Microsoft 💎 and masters of language ✅ Thanks didi
Your Lectures are helping me a lot. Thanks
6:08 those are not arguments, those are called parameters. arguments are those while calling the function and passing the value.
Anyone who is watching 👀is from class 10 icse???
Yes class 10 mein hi placement course 💀
if you follow the icse prescribed book for computer that will be enough to make you good in Java
😭😭😭😭😭😭😭😭😭😭😭😭😭😭
Btw legends are here before exams 😂👀
Yes it,sme
Java videos is better than c++ ,aman bhaiya ne improve kiya , c++ mein fast paced tha lekin ye usse improved hai with better explanation .
I truly love your way of teaching 😍
?????
@@jatinjain1587lmao
Thank you mam and sir for providing course and background black screen is best for night study ☺️☺️
I just say .......big thank you ..........,🙏keep learning ❤️❤️❤️❤️❤️
Thanks Bro
I'm telling you that end of this language I will definitely crack the job love u loads bro💕😘
th-cam.com/video/-AdgUai3Jkw/w-d-xo.html
i don't know how should i thank you
your teaching is mindblowing crystal clear explaination
super mam
your teaching is very good
and
you are also good looking
seriously, mind blowing video hai with simple and to the point instruction maine bahut saare videos dekhe kasam se isko dekhne ke baad mera methods ka concept clear hua hai thank you so much❣
This course is literally awesome, didn't know that difference between function and method 🫡💯
love the way you are teaching .
Your way of explaining is amazing!!
I have never understood programming concepts until I watched your series.
Thank you so much ma'am!!!
Have u completed homework questions of this lecture?
@@munfeesfatima4508 yes
Thank you for this wonderful,amazing ,mindblowing video 🔥🔥🔥
Thankuu so much shraddha di for this amazing content ❤️❤️❤️❤️❤️❤️
ma'am your video help me more to get best way to learn the java
Homework question 3:
import java.util.*;
public class printTable {
public static void printingTable(int n) {
for (int i = 1; i
java: class function is public, should be declared in a file named function.java
how to counter this error
Idhr ek mistake ki hn tmne
For(int i=1; i
@@stupiddan6597 "x" ka symbol bhi multiplication ka hota hai agar kabhi school me padha ho tumne
The fact that the people from Microsoft always code in Mac.
They are working in iOS development
Microsoft gives mac,surface,dell latitude depending upon work
Flexing at peaks bro
thanks mam for giving this type of knowledge your lacture is very helpful for everyone thank so much mam.
Always waiting for this.🙂
Thank you.
th-cam.com/video/uODVKc8gNm4/w-d-xo.html
Programming Channel😊
Please watch once and share your reviews in comment box..
Exception handling topic mam plz discuss because your explanation is very helpful .....thank you mam👍
This lecture helped me a lot thanks a lot.❤❤
Sir/didi can you provide more 2 lectures in the upcoming weekends please , the lectures your ur providing helping us lott.
Please can u ?
Your lecture are so excited
Perfect for getting java easily for asolute beginners.
22 Sep Shraddha
Waah kya scene hai 😂
😂
?? please explain
Thank you so much mam .. Your lectures are very helpful.
Mam ...plz bring faculty which will guide students like me which are just going to enter in world of competitive programming .....
straight to objective (Functions and method ) and get my points clear, thank you
Bhgwan Bhlaa kre tumhara sbka .. Thankyou so much didi :)
Thanks didi, it helps me a lot
Thanks DiDi
🙏respect for apna college.
Thank you Shradha.. 👍👍
I am a arts student and i don't know why i am learning java but explanation is very good 😊👍🏻
Thankyou
Thanks mam you are great in this world thank you so much mam
Your explanation is very nice dhidhi.. thank you
You are amazing. This is the first time I'm studying anything in hindi/urdu. I've lived in Europe all my life. Your teaching style is great! Thank you so much
Homework question 1:
import java.util.*;
public class checkPrime {
public static int prime(int n) {
int flag = 1;
for (int i = 2; i < n; i++) {
if (n % i == 0) {
flag = 0;
break;
}
}
return flag;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
sc.close();
if (prime(n) == 1) {
System.out.println("Prime");
} else {
System.out.println("Not Prime");
}
}
}
If I change my class name main to something name it's on working what's can I do?
what about number 9?
Pls keep subtitles also mam so that we can understand clearly because Some of them did not know hindi well mam
Yes please if possible
Aman bhaiya , please make a particular course for Nimcet.
I humble requesting you.
Didi your explanation is superb
i Purchased a 2 lac course and coming here to understand the basic topics ....Keep going this is future of study
Which course?
i really like the environment u teach in☘☘
Sir i have very very respect for you
*gentle correction 'so much'
Best java playlist ❤
Plzz upload lec 6 HW Solution......thnx for this series 👍👍
do u stillwant them?
@@arnikakothari492 yeah bro can you send?
This channel is nothing without you.
Who Is Here Without Laptop Learning In Mobile Phone??😂😂
😂🤝🏻us
Na Bhai
Thank you so much 🥰
You are doing great work 😉🔥🔥😎
Best java course forever❤
Di I am very interested your class.
And your experience 😘
Very helpful and concept clearing
Thank you a lot
best course yes it will take time but after completing it u will be rocking btw she is admiring
🎉thanks for teaching mam new world
Didi, I am in 10th icse and I had a doubt, in the section of the video on 12:00 we are not creating an external object for above function because both off them have the keyword static right, coz methods having the keyword static need not be called with any external object creation right?
Like we can call the method/function directly by just writing the method signature or is it something else only, since I got a bit confused in it.
th-cam.com/video/uODVKc8gNm4/w-d-xo.html
Programming Channel😊
Please watch once and share your reviews in comment box..
Your voice makes this tutorial much amusing
Please make a set of videos of OOPS of Java, In how many days it will take to complete the full Java by following your videos?
Love this explanation.
Can't thank you enough ❤️
kia dhaansoo jhakaas explain kia hay biru! well done! 😎👍
ye Main Method, and class ka kia Funda hay boss?
@@syedarmaghanhassan4652 nothing diff. bro...both use for execute the code. if any function used in under class called method, used outer of class called function thats allll....😉
@@iamsarfraaz.official cool ho gya! 👍🏼
@@syedarmaghanhassan4652 thank God.... 🤘🏻🤘🏻😎
22 Sep Shradha 😂😂 noti gang knows 🤣
😆😆😆😆
Bhyi kya hota h 22 sept ko
😂 😂 😂 😂
??
Samaj nahi aya bro
public static void checkEvenOdd(int n) {
if(n%2==0) {
System.out.println("Even Number");
}
else {
System.out.println("Odd Number ");
}
return;
}
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
checkEvenOdd(n);
}
What will happen if I dont write the command 'return' in a function having 'void' as its return type. Will it be saved in the memory(stack) or will it get deleted as soon as the function reaches its end point?
Good Question👍
You dont need to write return in void function, the void func is used to perrform certain tasks or functions and u can store them if u want using a variable
If u dont write any command to get that void function value it will be deleted as soon as u go to next step(in main)
Love you Didi Your teaching style is so amazing 🤗🤗🤗❤❤❤ Thanks For Amazing course ❤❤❤
Wonderful explanation
very nice presentation
I am working in java development projects from over 2 years and now only I am realising the difference between function and methods, smh!
thanks a lot tho for clearing this out
great course till now.
thank you for this chapter to make it easy to solve
Bhaiya how to get internship in Cern Switzerland pa ek video banaye na please
@CRACKED European Council for Nuclear research
Thank you for tell me difference between function and method
Can anyone tell me Java in USA college wala ka Achcha hai ya FIR Apna college 😢😢😢
I am in 10th class (ICSE) this playlist was really helpful for me
Hi
@@ShubhamSoni-iz5ky Hi
Am also
I know C programming, and due to those concepts ,I can Pause Video and Solve these ques on my own!
we want to return two values like float and int at the same time in a function what can we do?
u will know in collections
Thank You didi for helping us
Didi, how do you protect your eyes from screen?
People in society says using laptop or mobile damage eyes.
I don't know how didi does but turning on eye care mode/night mode/reading mode/blue light filter in mobile devices and windows doesn't strain our eyes and that's pretty cool
@@lelouchvibritannia9896 is it enough?
I too keep on filter mode and dark mode on, plus I use computer glass
@@shaileshlonkar3714 Yeah it's all you can do plus some people say to take a 2min break after every 45min of looking into screen to give your eyes a break and proper distance between your eyes and screen according to your monitor's size.
@@lelouchvibritannia9896 ok👍🏻
for factorial question i used conditional statement ;
import java.util.* ;
public class Functions {
public static int Factorials (int a) {
if(a == 0){
return 1 ;
}
return a * Factorials(a-1) ;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
System.out.println("factorial of " + a + " is " + Factorials(a));
}
}
Aman bhaiya please launch next hybrid centres 👃👃👃
you are best teacher java
Will this Java course be as detailed as the C++ course ?
th-cam.com/video/-AdgUai3Jkw/w-d-xo.html
Bro what r u doing right know in ur life?
Add this lecture to play list
mam your videos are awesome but i am facing a problem to doing on intellij community edition can you please make a video on it also i will be very thankful to you
thank youu so much for simple explanation
Sharda didi name changed into windows Wali didi 🤣🤣
thank you maam for being with us
Anyone from class 11 th or 12 th here?
Yaaa
I m from 10th❤
I m from 10th❤
Bro also diploma students here 😎
DOUBT(small confusion):
when to use, public static int name() and public static void name ()
Void kuch return nahi Karta hai, int - integer return Karta hai bhai
@@suryanshchaubey3072 read it like this "public static output_type name (input_type);
if you don't want to return anything then you use void i.e., in this function you won't have to use "return" function
Time Stamps for important points 🧑💻
What is a Function -> 0:50
Syntax Of Function
Return type -> 2:30
Function name -> 5:00
Arguments -> 6:00
What happens in memory when a function is created -> 12:30
(stack frame concept)
function vs code -> 25:50