+ 1

Please is there any structure to follow in java programming, so my code can be easier to understand and low consumption of space

15th Aug 2018, 1:55 PM
Illegal
Illegal - avatar
2 odpowiedzi
15th Aug 2018, 11:59 PM
NezhnyjVampir
+ 1
check out java documentation, using it for your program will help yourself and others better understand what your code is doing, also space wise i looked up one class in the java library and it had almost 2000 lines of code, which is awesome, but using nested classes and anonymous classes can help on space as well as functional interfaces with lambda expressions, but if you are new to java you should give these concepts a while before you look into them. also use variable and class names that can easily identify what is being done and used and your program almost documents itself
15th Aug 2018, 2:03 PM
StealthyTaco
StealthyTaco - avatar