DEV Community 👩‍💻👨‍💻

Discussion on: A Taste of Dynamic Typing in Java using the var keyword

ryselis profile image
Karolis Ryselis

Java var is nothing like Python's def. def is used to declare a function or method.

javinpaul profile image
javinpaul Author

Yeah, that's true, Java var is less powerful than Python def or even JavaScript var but it still useful on making your code elegant and concise.