2+2=5 in Java

Channel:
Subscribers:
4,820,000
Published on ● Video Link: https://www.youtube.com/watch?v=amXXYgu0eFY



Duration: 3:26
139,534 views
8,143


Cool/evil trick in Java to make 2+2=5.

StackExchange: https://codegolf.stackexchange.com/a/28818
Code: https://ideone.com/o1h0hR
Java Integer class: https://bit.ly/3acVM1P
2+2=5 in 1984 by Orwell: https://en.wikipedia.org/wiki/2_%2B_2_%3D_5

Support this channel by supporting our sponsors. Click links, get discount:
Eight Sleep: https://eightsleep.com/lex

INFO:
Podcast website:
https://lexfridman.com/ai
Apple Podcasts:
https://apple.co/2lwqZIr
Spotify:
https://spoti.fi/2nEwCF8
RSS:
https://lexfridman.com/category/ai/feed/
Full episodes playlist:
https://www.youtube.com/playlist?list...
Clips playlist:
https://www.youtube.com/playlist?list...




Other Videos By Lex Fridman


2020-08-30François Chollet: Measures of Intelligence | Lex Fridman Podcast #120
2020-08-27A day in my life | Lex Fridman
2020-08-26David Eagleman: Neuroplasticity and the Livewired Brain | Lex Fridman Podcast #119
2020-08-24Math Meme Review with Grant Sanderson (3Blue1Brown)
2020-08-23Grant Sanderson: Math, Manim, Neural Networks & Teaching with 3Blue1Brown | Lex Fridman Podcast #118
2020-08-21Best hidden feature of Python | Chaining comparison operators
2020-08-20Sheldon Solomon: Death and Meaning | Lex Fridman Podcast #117
2020-08-19Lex Fridman Podcast | Now in ASCII + Name Change
2020-08-16Sara Seager: Search for Planets and Life Outside Our Solar System | Lex Fridman Podcast #116
2020-08-14Dileep George: Brain-Inspired AI | Lex Fridman Podcast #115
2020-08-112+2=5 in Java
2020-08-09Russ Tedrake: Underactuated Robotics, Control, Dynamics and Touch | Lex Fridman Podcast #114
2020-08-07Best feature of Python | List Comprehensions
2020-08-01GPT-3 vs Human Brain
2020-07-31Manolis Kellis: Human Genome and Evolutionary Dynamics | Lex Fridman Podcast #113
2020-07-29Ian Hutchinson: Nuclear Fusion, Plasma Physics, and Religion | Lex Fridman Podcast #112
2020-07-27The most controversial Python feature | Walrus operator
2020-07-26Richard Karp: Algorithms and Computational Complexity | Lex Fridman Podcast #111
2020-07-24When will the 200 billionth person be born?
2020-07-21Jitendra Malik: Computer Vision | Lex Fridman Podcast #110
2020-07-20Will Javascript Take Over the World? | Brian Kernighan and Lex Fridman



Tags:
java (programming language)