top of page

"They don't make bugs like Bunny anymore."

Java Tips and Tricks for beginners


*Tips*

  • Always add Comments around in your code to make it readable and maintainable.

  • Don't name your variables with short names just to make it fancy name them with names that describes them well even if they are long names, trust me it's gonna help you on the long run

 

*Tricks*

without using if statement to return only 1 true from 2 parameters use (ORX) Operator ,

  • return boolean only1isTrue ^ boolean only2isTrue; //where is1Teen and is2Teen are boolean vars

Featured Posts
Recent Posts
Archive
Search By Tags
No tags yet.
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page