
Day 5 of My Selenium Java Class – Variables, String Methods & Static vs Instance
Trainer: Mr.Nantha Day 5 Session Overview Today’s session focused on strengthening core Java concepts that are extremely important for automation testing and interviews. Topics Covered • Variables & Types of Variables: We explored the concept of variables in Java, including the different types that are commonly used. • Important String Methods: The session included a review of key String methods, emphasizing their significance and usage in Java programming. • Static vs Instance Variables: We discussed the distinction between static and instance variables, clarifying their roles and how they differ in Java applications. Variables in Java In Java, a variable acts as a container that holds data during program execution. Variables allow you to store, modify, and retrieve information as your code runs. Example: int age = 25; String name = "John"; In these examples: • The words int and String are data types that specify what kind of data the variable can store. • Age and name are the variabl
Continue reading on Dev.to Beginners
Opens in a new tab



