Posts

Showing posts from May, 2023

Array Interview Question

 Array ===== We can store multiple values of similar datatypes in a single variable Similar datatypes Index based Index starts from 0 to n-1. Array syntax ============= DataType variable [] = new Datatype [Size]; 2D Array ========================== DataType variable [ ] [ ] = new Datatype [size] [size]; DisAdvantages of ------------------ We can store only the similar datatypes once we fixed the size we cant modified memory wastage is high normal enhanced forloop (for each) ================================== index based value based condition set        no condition Chances of error    less chance of error

Use of String Method

 String Methods: =============== length();                                 - to find the length of the string  toUpperCase();                            - to convert the lowerCase into upperCase toLowerCase();                            - to convert the upperCase into LowerCase indexOf('char');                          - to get a index position of particular letter(first occurred) lastIndexOf('char');                      - to get a index position of particular letter(last occurred) charAt(index);                            - to get a particular character from string by...

String Type- Literal, Non-Literal, Mutable, Immutable

 String Types -------------- Literal String  Non literal String Immutable Mutable Literal String: --------- String s1 = "welcome"; String s2 = "welcome"; Incase of the duplicate, it will share the same memory location. It is stored inside the string pool or string constant System ---->identityHashCode()---> memory address Non Literal -------------------- String s2 = new String ("welcome"); String s3 = new String ("welcome"); Incase of duplicate It will not share the same memory location. it will share the different memory location.  . It is stored in the heap memory. ------------------------------------- Immutable --------- same as the literal string String s="welcome"; we use concat method. While join or any action on the immutable String, it will not share first string  memory value Mutable ------- same as non literal string but use StringBuffer or StringBuilder StringBuffer s = new StringBuffer("welcome");    //   Str...

Amazon Walk-in Drive 2023 | B.E/B.Tech/MCA/B.Sc/M.Sc/BCA | 4 May 2023

 May 4 QA Interview For Fresher - (Amazon) Amazon Walk-in Drive 2023 | B.E/B.Tech/MCA/B.Sc/M.Sc/BCA | 4 May 2023 Amazon Walk-in Drive 2023 –  Amazon scheduled to hire Associate Quality Services for B.E/B.Tech/MCA/B.Sc/M.Sc/BCA graduates at Chennai. The detailed eligibility and Amazon Walk-in Drive venue details are given below. Amazon Walk-in Drive 2023 : Job Role Associate Quality Services Qualification B.E/B.Tech/MCA/B.Sc/M.Sc/BCA Experience 0-2 Years Salary Rs 2.5-3 LPA Job Location Chennai Venue Location Chennai Walk-in Date 4 May 2023 Job Description Execute test plans & test cases, creating test data, and reporting results in a timely, clear, and concise manner. Should understand the functionality of the project/product. Should have the ability to stay connected with changing requirements and documentation. Should be able to actively look for gaps in test cases and look beyond test cases for issues/bugs. Should execute processes to thoroughly test product changes. Sh...