Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
5 views24 pages

Interview Preparations

The document outlines a comprehensive list of topics related to Java programming, Selenium, API testing, and various frameworks, along with a collection of interview questions associated with each topic. It covers fundamental concepts, advanced features, and practical applications in software development and testing. Additionally, it includes specific questions related to database management, CI/CD practices, and programming logic challenges.

Uploaded by

thamotharanmani7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views24 pages

Interview Preparations

The document outlines a comprehensive list of topics related to Java programming, Selenium, API testing, and various frameworks, along with a collection of interview questions associated with each topic. It covers fundamental concepts, advanced features, and practical applications in software development and testing. Additionally, it includes specific questions related to database management, CI/CD practices, and programming logic challenges.

Uploaded by

thamotharanmani7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 24

S.

No Topics
1 Java OOPs
2 Java Collections
3 Java 8 Features
4 Java Programs & Logics
5 Data Structures & Algorithms
6 DSA Programs & Logics
7 Selenium Basics
8 Selenium Advanced
9 TestNG
10 BDD - Cucumber
11 API
12 REST Assured
13 MySQL / MongoDB
14 CI / CD - Jenkins
15 Python Basics
16 Python Advanced
17 PyTest
18 Robot Framework
19 Karate Framework
20 Playwright
21 Collect all the questions asked on the above topics across the companies
S.No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Question
What is Java?
Why is Java platform independent?
Why is Java not a pure object-oriented language?
Difference between heap and stack memory in Java
What are the difference between primitive data types and objects in Java?
Difference between String, StringBuilder, StringBuffer
What is a wrapper class in Java?
What is Inheritance?
What is polymorphism?
What are constructors in Java?
What is the difference between JDK, JRE and JVM?
What is a ClassLoader in Java?
What are the main features of Java?
What is a JIT compiler?
Can "this" and "super" be used together in a constructor?
What is JSP and its directives?
What is JDBC?
What are Java 8 features?
OOPs concepts
What is Encapsulation?
What is Abstraction?
What is the difference between a class and an object?
What is the 'this' keyword?
What is method overloading?
What is method overriding?
What is method overhiding?
Why is multiple inheritance not supported in Java?
What is the difference between abstraction and encapsulation?
How does Java achieve runtime polymorphism?
What is the purpose of the 'super' keyword?
What is an interface in Java?
How does Java handle object destruction?
What is the difference between instance and static methods?
How much memory does a class occupy?
Is it always necessary to create objects from a class?
How does Java implement Inheritance?
How is abstraction achieved in Java?
What is the difference between == and .equals() in Java?
Why does == sometimes return true for strings?
Explain the difference between final, finally, finalize() in Java?
How does ConcurrentHashMap achieve high concurrency in Java?
Why is String immutable in Java?
Difference between abstract class and interface
Access modifiers in Java
Difference between static and non-static methods
What is Constructor chaining in Java
Difference between ArrayList and LinkedList
Difference between HashMap and HashTable
How does HashMap work internally?
Difference between HashSet and TreeSet
Difference between Iterator and ListIterator
Difference between Comparable and Comparator
What happens when you add duplicate elements to a HashSet?
Difference between List and Set
Difference between Array and ArrayList
Difference between Checked and Unchecked exceptions
Difference between throw and throws
What is finally block and when is it executed?
Can we have multiple catch blocks for a single try block?
Difference between final, finally, finalize
What is multithreading in Java?
Difference between Thread class and Runnable interface
What is Synchronization in Java?
Difference between wait() and sleep() methods
What is deadlock and how can you avoid it?
What is Volatile keyword?
How does garbage collection work in java?
Difference between Shallow copy and deep copy
Wrapper classes in Java
What is Autoboxing and Unboxing
What are generics in Java and why are they used?
What are lambda expressions in Java 9?
Can we use a try block without a catch block? Can we use a try block with a finally block?
Difference between List,Set & Map
S.No
1
2
3
4
Questions
How can we run specific test cases in TestNG? Provide 2-3 different ways.
How can we achieve abstraction in a real-time Selenium framework?
Why do you use and implement Shadow DOM elements?
S.No
1
2
Questions
What is the difference between git merge and git rebase?
S.No
1
2
3
Questions
What are the HTTP status codes used for negative scenarios in API testing?
If the UI is not ready and you need to perform a file upload scenario, what API checks should be in pla
Which HTTP method do we use to make an HTTP request to update an existing resource?
PUT
S.No
1
Questions
Can we create two Scenario Outline sections in a single feature file in Cucumber?
S.No
1
Questions
Which of the following SQL commands is used to remove duplicates from a query result?
Answer
DISTINCT
S.No
Questions
What plugin must be installed in Jenkins to execute Selenium tests using Maven?
Answer
Selenium WebDriver Plugin
S.No Questions
Write a Java program for the given string transformation.
Explanation: replace repeating characters with its count. For the
given example 'o' and 'r' are repeated so replaced 'o' with its
1 count 3 and 'r' with 2
Sample I/P Sample O/P

Input 1: tomorrow Output: t3m3223w


S.No
1
2
Questions
How did you integrate AWS into your project, and what reporting mechanism did you use?

You might also like