No video

Increment and Decrement Operators in Java

  Рет қаралды 89,918

Neso Academy

Neso Academy

Күн бұрын

Java Programming: Increment and Decrement Operators in Java Programming
Topics Discussed:
1. The increment operator in Java.
2. The decrement operator in Java.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacademy...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy...
Website ► www.nesoacademy...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#JavaByNeso #JavaProgramming #IncrementOperator #DecrementOperator

Пікірлер: 61
@hakancemgercek
@hakancemgercek Жыл бұрын
int x = 10; System.out.println( - - x ) ====> first decrement, then print ==> 9 System.out.println( x - - ) ====> first print, then decrement ==> 10 System.out.println( + + x ) ====> first add, then print ==> 11 System.out.println( x + + ) ====> first print, then add ==> 10
@sreehari1490
@sreehari1490 2 жыл бұрын
For those who are confused between first and last examples... last example of post and pre decrement is perfect and a correction In first example is at post increment(i++) the value printed is old value. (i.e output: 4 ) NOT 5 and in pre increment(++i) value printed is new value.(output:5)
@mrbuster4512
@mrbuster4512 Жыл бұрын
Yeah bro. I am confused what happened now. But now I clarify with your comment. Thank you bro
@sunoo_sun2162
@sunoo_sun2162 Жыл бұрын
You're more helpful than my professor
@sreelathachelimill6706
@sreelathachelimill6706 2 жыл бұрын
I liked nesco due to their editing and the way they communicated with us and the PPT was also really sophisticated and reliable for my quarterly examination
@Ahmedtalib1
@Ahmedtalib1 2 жыл бұрын
I don't understand why (i) is changing while we are only modifying (j) ??? shouldn't (i) remain the same?
@marvii13
@marvii13 2 жыл бұрын
جزاك الله خيرا
@riteshmadishetty8450
@riteshmadishetty8450 3 жыл бұрын
public class Main{ public static void main { System.out.println("Thank you Ali Badran Sir!!, means a lot!!); } }
@jhonnie6778
@jhonnie6778 3 жыл бұрын
nice but u forgot a " at the end
@Porcupinebygoldiee526
@Porcupinebygoldiee526 3 жыл бұрын
System : Error In the syntax!!!!! [=> ("Thank You Ali badran Sir!! , means a lot!!") ; ] :) xD
@paia6447
@paia6447 2 жыл бұрын
Eror in main funtion
@paia6447
@paia6447 2 жыл бұрын
Oh my god so many error
@champhelkyledaipan5084
@champhelkyledaipan5084 3 жыл бұрын
this channel helps me a lot
@tomtomtom6970
@tomtomtom6970 2 ай бұрын
Thanks a lot, very helpful.
@Mike-zr1te
@Mike-zr1te 4 жыл бұрын
Excelente
@Praneesh203
@Praneesh203 Жыл бұрын
Thank you soooooooooo oo much❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ Love NESO ACADEMY
@Yuri-qx7cc
@Yuri-qx7cc 3 жыл бұрын
Thanks , you have helped me a lot👊
@ravalimanchala8170
@ravalimanchala8170 Жыл бұрын
Thank u very clear information sir keep doing
@Aabara_ka_dabara
@Aabara_ka_dabara Жыл бұрын
first example output are correct .
@dipeshsamrawat7957
@dipeshsamrawat7957 2 жыл бұрын
I love you Neso Academy. ❤️
@marriamhaji7440
@marriamhaji7440 5 ай бұрын
I have enjoyed this🔥
@kinnoh3812
@kinnoh3812 Ай бұрын
Ohhh thanks a lot....🎀
@americanenglish1024
@americanenglish1024 2 ай бұрын
what is the name of the instructor? really good prof
@ssmm4590
@ssmm4590 2 жыл бұрын
المنقذ دائما ❤❤
@svanaja331
@svanaja331 2 жыл бұрын
great effort , videos are awesome. Keep doing.
@nev123123123
@nev123123123 4 жыл бұрын
In the final example he said decrement was 4 and 3 but then he said the first was 3? Is it 3 or 4 for the first example.
@AnkitSingh-lc3mx
@AnkitSingh-lc3mx 3 жыл бұрын
Same doubt
@bounceagent2507
@bounceagent2507 3 жыл бұрын
Ya first one is 4 because it is a post decrement original value will be answer and second example is 3 because predecrement it will minus by one
@user-pr2zt3lz3t
@user-pr2zt3lz3t 3 жыл бұрын
@@bounceagent2507 but with ++ it wasnt like that ?
@Anakanueva
@Anakanueva Жыл бұрын
It was a bit confuse for me :D, but thank you anyway for all the great lessons.
@Thegagged257
@Thegagged257 3 жыл бұрын
Very helpful
@Mi-ro6le
@Mi-ro6le 2 жыл бұрын
Thanks
@ericsgotlegs
@ericsgotlegs 3 жыл бұрын
Thank you!
@ashishchowdhury360
@ashishchowdhury360 4 жыл бұрын
Nice one
@soumendash3911
@soumendash3911 10 ай бұрын
Right
@lillyberta422
@lillyberta422 3 жыл бұрын
Perfect!! thank youuuuuuuuuuuuuuuuuuu
@samtechnicalguru
@samtechnicalguru 2 жыл бұрын
Little bit confusion about decriment why in first example we don't get 3 ? Anyone can tell me that
@user-hz2cj5ek4p
@user-hz2cj5ek4p Жыл бұрын
may be a bit late but when u doing - -i u at fist substract the value of i then print it, but when u use i- - u fist print the i, the u decrease it
@whatsapwhatsapp662
@whatsapwhatsapp662 4 жыл бұрын
thx a lot @NESO_ACADEMY
@ayushsingh3001
@ayushsingh3001 4 жыл бұрын
what operator we can use if we want to increase or decrease the value by more than 1 ?
@imdadabro4118
@imdadabro4118 4 жыл бұрын
You can use additon or substraction for that.
@voided6848
@voided6848 10 ай бұрын
how @@imdadabro4118
@kenjohnsiosan9707
@kenjohnsiosan9707 2 жыл бұрын
thank u sir
@sofiullahiqbalkiron6818
@sofiullahiqbalkiron6818 4 жыл бұрын
Take Love
@Aryan_Divyanshu_000
@Aryan_Divyanshu_000 Жыл бұрын
Good video
@akaez2807
@akaez2807 2 жыл бұрын
Greattttttl!!!!!
@manjuvishwakarma4170
@manjuvishwakarma4170 2 жыл бұрын
in ++i the value got increased but in --i prints the same value, confused ?
@samtechnicalguru
@samtechnicalguru 2 жыл бұрын
Coz in pre incriment the statement will print coz of pree incriment print the new value in both variable I hope it will help u
@Rupa_yt
@Rupa_yt 8 ай бұрын
No
@riamhussain2928
@riamhussain2928 2 жыл бұрын
اللهجة العربية واضحة 👍🏻
@brokendreamz1140
@brokendreamz1140 4 жыл бұрын
nice👍👍
@ddp1863
@ddp1863 2 жыл бұрын
Top video! Are you Indian or Russian?
@dinukahewasinghe4204
@dinukahewasinghe4204 2 жыл бұрын
Arabic i think
@midnax1
@midnax1 Жыл бұрын
It looks like an Arabic accent, he seems Arabain (probably from lebanon)
@klid662
@klid662 2 жыл бұрын
brader, i think you wrong in decrement while i-- is 4
@zuhoor2000
@zuhoor2000 2 жыл бұрын
please next time slow down i faced difficulties to understand
@Apopjak
@Apopjak Жыл бұрын
I still cant get it...good old python, idk why I started with freaking java
@Stekaren
@Stekaren 11 күн бұрын
arab confirmed lmao
@gangavarapuabhishek8468
@gangavarapuabhishek8468 Жыл бұрын
bad explanation
Casting in Java
8:07
Neso Academy
Рет қаралды 99 М.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 15 МЛН
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН
Increment and Decrement operators in C Programming | Postfix | Prefix
6:45
Java Basics - Increment Decrement Operators
10:26
MargretPosch
Рет қаралды 72 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 802 М.
Arithmetic Operators in Java
6:05
Neso Academy
Рет қаралды 66 М.
4.5 Post and Pre Increment in Java
7:06
Telusko
Рет қаралды 208 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,7 МЛН
Map and HashMap in Java - Full Tutorial
10:10
Coding with John
Рет қаралды 568 М.
The Assignment Operator in Java
7:35
Neso Academy
Рет қаралды 75 М.
China | Can you solve this ? | A Nice Trigonometry Math Olympiad Problem
11:57
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 15 МЛН