Passing Arguments by Reference in Java

preview_player
Показать описание
Java Programming: Passing Arguments by Reference in Java Programming
Topics Discussed:
1. Point Class in Java.
2. Passing Arguments by Reference in Java.

Music:
Axol x Alex Skrindo - You [NCS Release]

#JavaByNeso #JavaProgramming #PassingArguments
Рекомендации по теме
Комментарии
Автор

I remember when I had to learn some digital circuits stuff and Neso Academy helped me a lot. Looks like you create new interesting content so maybe I will check it soon.

AnonymousDeveloper
Автор

I don't even learn Java now but your videos are so good I am just watching them for fun.

TheTariqibnziyad
Автор

Many Many Thanks, Your Teaching Method is Fantastic

anmolrathi
Автор

i didn't get this, how necessary is it to know to understand the next 8 videos?

nahidahmed
Автор

Why is it that in this case method "change" which is void and doesn't return any value actually overwrites the reference points in main method? I could use a bit more explanation on that as previous video showed exactly it doesn't change the value in main method for int type.

marcinnalborczyk
Автор

amazing video, explained better than the teacher

mithjain
Автор

So is it mean that we cant change the value of local variable from outside of its function ?
Plz confirm or do correct :-(

compilerrun
Автор

Java doesn't support pass-by-reference. Primitive data types and Immutable class objects strictly follow pass-by-value; hence can be safely passed to functions without any risk of modification. For non-primitive data types, Java sends a copy of the reference to the objects created in the heap memory

mohameddh
Автор

One of the best explanations on topic.

burhanshah
Автор

Whenever I'm trying to create a point class object, it throws an error that says "cant find symbol variable Point". :')

arkabhattacharya
Автор

im getting error. point cannot be resolved to a type

Unknown
Автор

how do we get to know that they are passed by arguments or passed by reference
because both the programs looking the same

saicharan
Автор

You forgot to create point class without creating class you created a object with point type

rahulguggilam
Автор

When I type the program shown in the video, it shows that "Point cannot be resolved to a

limzisin
Автор

Disclaimer Note: DO NOT TRY AT HOME! Please do not use in REAL PROJECTS guys! Your code will not understandable and will not maintainable. You will put everywhere to debug point when you reading code. Bugfix will cause the exact problem in your life and will take a lot of time. DO NOT ADD YOUR PROJECTS!

alper_mulayim
Автор

am i dumb for not understading this concept ?

rayaraya