Java Tutorial-9: Difference between x++ and ++x in Java

Опубликовано: 03 Декабрь 2020
на канале: Md Fakhrul Alam Sajib
988
33

In this video, we are going to learn about the difference between x++ and ++x in java.
++x is called pre increment or prefix increment.
x++ is called post increment or postfix increment.

x++ returns the value of x and then increments x by 1
++x increments the value of x by 1 and then returns x.

👤Connect with me:
  / sajibfakhrulalam  

👇 Full Course of MySQL Tutorial for Beginners 👇
   • MySQL Tutorial for Beginners [2024]  

👇 Java Programming Tutorials 👇
   • Java Programming Tutorials for Beginners [...  

👇How to download and install SQL Server 2019 Express Edition and SQL Server Management Studio 18.8👇
   • How to download and install SQL Server 201...  

👇 Circuit Simulation using PSpice 👇
   • Circuit Simulation using PSpice  

👇 Subscribe My Channel Now 👇
   / mdfakhrulalamsajib  

#Md_Fakhrul_Alam_Sajib
#pre_increment
#post_increment
#java_tutorial