Ans :- these are the difference  between String Buffer and String Builder s.No String Buffer String Builder 1. StringBuffer is Synchronized StringBuilder is non Synchronized 2. StringBuffer  is thread safe StringBuilder is not thread safe 3 StringBuffer is less efficient …

What is the difference between StringBuffer and Stringbuilder ? Read more »

In today’s fast-paced digital world, having a mobile app for your website is crucial for reaching a wider audience and enhancing user engagement. However, the process of creating an app can be perceived as a complex and expensive endeavor, especially …

Transform Your Website into an App in Minutes with AppGenerater: A No-Code Solution Read more »

“Nuage Laboratoire, when translated, reveals its meaning as ‘Cloud Lab,’ while ‘Test Lab’ can be equivalently expressed as ‘Laboratoire Test.’“ If you’ve ever navigated the intricate world of app testing, chances are you’ve encountered the powerhouse known as Firebase Test …

Who is Nuage Laboratoire and strange email id xyz………@cloudtestlabaccounts.com after published Android app in play store Read more »

SOLUTION :- package p2; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; public class MapExample { public static void main(String[] args) { Map<Integer,String> map =new HashMap<>(); map.put(1, “David”); map.put(2, “Moksa”); map.put(3, “Poll”); map.put(4, “Iliana”); for(Entry<Integer, String> v1:map.entrySet()) { System.out.println(v1.getKey()+””+v1.getValue()); } } } …

Q. How to Create Map Object ? Create Map Object put some element on it and iterate one by one . Read more »

SOLUTION:-  import java.util.Arrays;import java.util.List; public class SumOfOddAndEven { public static void main(String[] args) { Integer[] number= {1,2,3,4,5,6,7,8,9,10}; List<Integer> list=Arrays.asList(number); // Even Nomber int sumOfEven=list.stream().filter(i->i%2==0).mapToInt(i->i).sum(); System.out.println(“Sum of Even numbers:”+sumOfEven); // Odd Number int sumOfOdd=list.stream().filter(i->i%2!=0).mapToInt(i->i).sum(); System.out.println(“Sum of Odd numbers:”+sumOfOdd); }}