/r/javaTIL

Photograph via snooOG

A place for sharing something new you've learned about the Java programming language. Share code snippets, discuss ideas, and provide feedback to other coders!

Welcome to /r/javaTIL! This is a place designed to share interesting things you've learned to do in Java, as well as to discover new ideas from other redditors. Posts can range from something cool you picked up in your 101 class, to much more complicated things from the world beyond school.

Please remember to always be respectful, but don't be afraid to give people feedback on their ideas!

There are only a few basic rules:

  • Please don't criticize without making suggestions (for example, "Your programs suck.")
  • All post must be at least loosely related to Java(No Javascript!! Android, Lejos and other Java-type things are welcome though)
  • Be nice! It can be a daunting prospect to put your ideas up for discussion as a beginner

Feel free to message the mod if you have any feedback or questions.

Related Subreddits

/r/java

/r/javahelp

/r/programming

/r/javaTIL

7,127 Subscribers

0

Download and Installation of JDK

2 Comments
2020/04/16
21:12 UTC

4

Type safe hashmap in java

I have created type safe hashmap in Java. The hashmap can store any type of object and retrieve the object without explicit cast:

http://millionstrengthknowledge.com/resource/java/programming/typeSafeMap.html

4 Comments
2020/03/17
12:11 UTC

1

TIL one interesting idea about type of "identifier" variable

Author of one of Java learning books recommend to use String as ID variables, because you don't do math to them and by using String you secure yourself from int/long/etc choice errors in advance

What do you think about this?

7 Comments
2019/11/14
11:31 UTC

0

Jave inner classes

0 Comments
2019/09/13
00:00 UTC

Back To Top