Madhu Pallesmartcookie.hashnode.dev·Dec 20, 2022Java For LoopLoops: Loops it is a special feature used to execute a particular task of the program repeatedly when a certain condition is true. For repetitive tasks or work, we always go with the loops concepts because loops will reduce the work. Mainly we have 2...Java Programming & DSAjava for loop
Madhu Pallesmartcookie.hashnode.dev·Dec 20, 2022Java StringsThe String is a collection of characters that will be enclosed by " " . Mainly the strings help to store the text information. //syntax for java strings String name = "Smart Cookie"; Here the name is a variable which is of string type that contains ...49 readsJava Programming & DSAjava strings
Madhu Pallesmartcookie.hashnode.dev·Dec 20, 2022Java ArraysArrays: Arrays can be used to store multiple values in a single variable . Instead of using separate variables for each value, we will declare an array to store multiple values in a single variable. To use the java arrays we need to define the array ...87 readsJava Programming & DSAjava arrays