filmov
tv
Java new Batch - Class 10- why call by value is possible in java and why not call by reference?

Показать описание
You can learn Java with me as the Java Programming language is being made easily. It would take a period of minimum three months and maximum 6 months to master Java. I would recommend you to watch all my videos to crack any software interviews that would require Java Programming language as a primary skill.
20. Why java follows only call by value parameter passing mechanism
whereas C and C++ follows both call by value and call by reference passing mechanism ? why?
What is parameter passing mechanism in programming languages?
if any Programming language , if we pass Primitive data types as parameters in the methods, it is called as call by value parameter passing mechanism
ex : byte, short , int ,long, float, double, char, boolean
Please be informed that call by reference is not supported by java, in call by reference we need to pass addresses which are stored in the form of pointers. However, pointers concept is not there in java due to security reasons. Hence, java does not support call by reference parameter passing mechanism.
20. Why java follows only call by value parameter passing mechanism
whereas C and C++ follows both call by value and call by reference passing mechanism ? why?
What is parameter passing mechanism in programming languages?
if any Programming language , if we pass Primitive data types as parameters in the methods, it is called as call by value parameter passing mechanism
ex : byte, short , int ,long, float, double, char, boolean
Please be informed that call by reference is not supported by java, in call by reference we need to pass addresses which are stored in the form of pointers. However, pointers concept is not there in java due to security reasons. Hence, java does not support call by reference parameter passing mechanism.
Java new Batch - Class 12- Java Buzz words and features - Part 2 Object Oriented and Multithreaded
Java new Batch - Class 14- Java Buzz words and features - Part 4 (High Performance and Dynamic)
Java new Batch - Class 11- Java Buzz words and features - Part 1
Java new Batch - Class 15- Java Buzz words and features - (Distributed, Compiled and interpreted)
Java new Batch - Class 13- Java Buzz words and features - Part 3 (Robust Programming Language)
Java new Batch - Class 9- why destructors are not there in Java?
Python or Java? | Which Programming Language is THE BEST in 2024 | #Coding #Python #Java #Shorts
Should you learn JAVA in 2024? #shorts #java
Java new Batch - Class 7- Why Multiple inheritance is not possible in Java?
Big Update in Java for Learners and Trainers
Java Project Batch 2023 🔥
Java new Batch - Class 10- why call by value is possible in java and why not call by reference?
Master Java Programming: We are launching a New Batch!
Advanced Java - New Batch | Ashok IT
Java new Batch - Class 3 - Introduction to Java and History of Java
Naresh it|Demo classes for java full stack developer |Best it institute in Hyderabad | Ameerpet
Java new Batch - Class 2 - Introduction to Java
DSA in Java Complete Placement Preparation in 4.5 months | New Alpha Plus 4.0 | with Quant Aptitude
Must Watch | Update to Free Core Java New batch Students from Harsha Sir | Free Core Java Training
Java new Batch - Class 5- Why Java is platform independent programming language?
Java Fullstack - New Batch | Ashok IT
Complete Placement Preparation : Java DSA + Full Stack Web Development + Aptitude | New SIGMA 5.0🚀...
Advanced Java - New Batch | Ashok IT
Complete DSA and Java Course for Placement | Early Bird Offer Inside #coding #java #dsa
Комментарии