Why are you planning to leave your current job?
Software Qa Engineer Interview Questions
6,323 software qa engineer interview questions shared by candidates
SQL queries Project architecture Real time scenario testing questions
find the first uniqueletter in an array
What's your ideal manager? Give me a time when you were unable to deliver on time.
UI project What frameworks you would select for a problem Explain resolving conflict with other team members
- What automation frameworks do you use and why?
why do you want to work in Alaska?
What is Abstraction and Interfaces? Differences ? Why one is better preferred and why?
Write test cases for this below code? class Product { private String name; private double price; public Product(String name, double price) { this.name = name; this.price = price; } public String getName() { return name; } public double getPrice() { return price; } } class ShoppingCart { private List items; public ShoppingCart() { items = new ArrayList<>(); } public void addItem(Product product) { items.add(product); } public List getItems() { return items; } public double calculateTotal() { double total = 0; for (Product item : items) { total += item.getPrice(); } return total; } } class DiscountManager { public double applyDiscount(ShoppingCart cart, double discountRate) { double total = cart.calculateTotal(); return total * (1 - discountRate); } } public class Main { public static void main(String[] args) { Product product1 = new Product("Laptop", 1000); Product product2 = new Product("Mouse", 20); ShoppingCart cart = new ShoppingCart(); cart.addItem(product1); cart.addItem(product2); DiscountManager discountManager = new DiscountManager(); double discountedPrice = discountManager.applyDiscount(cart, 0.1); System.out.println("Discounted price: " + discountedPrice); } }
What is Transient keyword in Java?
Viewing 2131 - 2140 interview questions