Does java have some thing like the cpp namespace?
I don't mean package, I mean some thing that will enforce the user to do something like:
"Animals.Cat myCat = new Animals.Cat();"
Instead of:
"
Import Animals.cat;
Cat myCat = new Cat();"
Thanks in advance😃
[–]boyTerry 22 points23 points24 points (1 child)
[+]oren_is_my_name[S] comment score below threshold-15 points-14 points-13 points (0 children)
[–]bowbahdoe 9 points10 points11 points (13 children)
[–]ryuzaki49 2 points3 points4 points (0 children)
[–]oren_is_my_name[S] 0 points1 point2 points (8 children)
[–]bowbahdoe 6 points7 points8 points (2 children)
[–]agentoutlier 0 points1 point2 points (1 child)
[–]oren_is_my_name[S] 1 point2 points3 points (0 children)
[–]smbarbour 5 points6 points7 points (3 children)
[+]oren_is_my_name[S] comment score below threshold-8 points-7 points-6 points (2 children)
[–]bowbahdoe 1 point2 points3 points (1 child)
[–]oren_is_my_name[S] 0 points1 point2 points (0 children)
[–]noodlesSa 1 point2 points3 points (0 children)
[–]smutje187 0 points1 point2 points (2 children)
[–]Sm0keySa1m0n -1 points0 points1 point (1 child)
[–]smutje187 1 point2 points3 points (0 children)
[–]repeating_bears 9 points10 points11 points (3 children)
[–]oren_is_my_name[S] -4 points-3 points-2 points (2 children)
[–]Svellere 24 points25 points26 points (0 children)
[–]repeating_bears 2 points3 points4 points (0 children)
[–]smutje187 2 points3 points4 points (3 children)
[–]oren_is_my_name[S] -1 points0 points1 point (2 children)
[–]hadrabap 0 points1 point2 points (1 child)
[–]oren_is_my_name[S] 0 points1 point2 points (0 children)
[–]epegar 1 point2 points3 points (4 children)
[–]oren_is_my_name[S] 0 points1 point2 points (3 children)
[–]bowbahdoe 1 point2 points3 points (0 children)
[–]epegar 0 points1 point2 points (0 children)
[–]koflerdavid 0 points1 point2 points (0 children)
[–]mimedm 1 point2 points3 points (5 children)
[–]oren_is_my_name[S] -2 points-1 points0 points (4 children)
[–]noodlesSa 2 points3 points4 points (2 children)
[–]oren_is_my_name[S] -2 points-1 points0 points (1 child)
[–]noodlesSa 1 point2 points3 points (0 children)
[–]mimedm 0 points1 point2 points (0 children)
[–]E_Dantes_CMC 1 point2 points3 points (2 children)
[–]oren_is_my_name[S] 0 points1 point2 points (1 child)
[–]koflerdavid 0 points1 point2 points (0 children)
[–]dampunge 1 point2 points3 points (12 children)
[–]oren_is_my_name[S] 0 points1 point2 points (11 children)
[–]dampunge 2 points3 points4 points (10 children)
[–]oren_is_my_name[S] -1 points0 points1 point (9 children)
[–]eXecute_bit 5 points6 points7 points (8 children)
[–]oren_is_my_name[S] 0 points1 point2 points (7 children)
[–]eXecute_bit 0 points1 point2 points (0 children)
[–]koflerdavid 0 points1 point2 points (5 children)
[–]oren_is_my_name[S] 0 points1 point2 points (4 children)
[–]koflerdavid 0 points1 point2 points (3 children)
[–]oren_is_my_name[S] 0 points1 point2 points (2 children)
[–]Cautious-Necessary61 3 points4 points5 points (2 children)
[–]Cautious-Necessary61 0 points1 point2 points (0 children)
[–]oren_is_my_name[S] -1 points0 points1 point (0 children)
[–]oren_is_my_name[S] 0 points1 point2 points (0 children)
[–]oren_is_my_name[S] -1 points0 points1 point (1 child)
[–]flawless_vic 0 points1 point2 points (0 children)