Enhanced / advanced for loop in Java
————————————————————————————————————————- Enhanced for loop is applicable only for arrays, Arrays can be of int or string type… let’s see the…
————————————————————————————————————————- Enhanced for loop is applicable only for arrays, Arrays can be of int or string type… let’s see the…
Java conditions – code will be executed based on a condition true or false (if else) Java loops – Code…
With the help of Java operators, we can perform mathematical or logical operations on different data types. Types Explanation –…
What is Array Arrays are used to store homogenous elements/values (of same data type) Can access the elements by the…
break and continue are java keywords to skip control flow statements depending on certain condition. break and continue have 2…
Collection: Group of individual objects in one unit. It’s a root interface of collections framework, which defines most common methods…
myStr.getChars(srcBeginIndex, srcEndIndex, dstCharArray, dstBeginIndex) is a java method which helps to get a part of the string into character array,…
Above screenshot gives you size of each data type in java, which will give us an idea of compatibility of…
There are situation when you don’t get exact result after running your test or getting some unknown error or exception…