Posts

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...

Interview Topics for Software Testers and QA

Interview Topics for Software Testers and QA Topics Manual Testing  Java program Manual Testing Topics SDLC STLC Type of testing Level of testing Testing Techniques Testing Methodologies Agile Methodologies Bug life cycle / Defect Management Test case Writing Create Bug ticket  Type of testing White Box Testing. Black Box Testing. Positive Testing. Negative Testing. Formal Testing. Informal Testing. Monkey Testing. ReTesting. Smoke Testing. Regression Testing. Sanity Testing. Beta Testing. Level of Testing Unit Testing Integration Testing System Testing Acceptance Testing Program (JAVA) OOPS Control Statement Array String Collection Expection Constructor Access Specifier Access Modifier Data Type Looping

Day 7: Java Notes

 Day 7: Java Notes Polymorphism: ============= Executing methods in more than one from. poly-> many Morphism -> form Two Type: Method overloading - compile time polymorphism/ static binding/static polymorphism Method overriding - runtime polymorphism/dynamic binding/dynamic polymorphism. Method Overloading: Same method name Same class Different argument Number of argument :  Int Int, float Float, string, char Boolean, int, long, string Data Types        :     Int Float String char Boolean Long Order of argument: String, long Float, string Int, boolean Method Overriding: Same method name Different class Same arguments Over Loading Program: —----------- package org.poly; public class EmployeeDetails { //based on the number of argument public void empDetail(int empid) { System.out.println("employee ID is"+ empid); } public void empDetail(String empname, int empage) { System.out.println("employee name is "+ empname); Sys...