Tag: Programming
String Methods in Java
Use common String methods: substring, equals, contains, replace, split, and trim.
StringBuilder and StringBuffer
Build mutable text efficiently with StringBuilder (or StringBuffer when thread-safe).
Method Parameters in Java
Pass data into methods with parameters and understand pass-by-value semantics.
Method Overloading in Java
Define multiple methods with the same name but different parameter lists.
switch Statement in Java
Select among many options with switch (classic and enhanced switch).
for Loop in Java
Use classic for loops and enhanced for-each loops over arrays/collections.