Interview Questions

Home/Tag:Interview Questions

Selenium Interview Questions and Answers – Part1

1. Difference between Absolute path & Relative path. Absolute path will start with root path (/) and Relative path will from current path (//) 2. Tell me some TestNG Annotations. @Test,@Parameters,@Listeners,@BeforeSuite,@AfterSuite,@BeforeTest,@AfterTest, @DataProvider,@BeforeGroups,@AfterGroups,@BeforeClass,@AfterClass, @BeforeMethod,@AfterMethod,@Factory http://testng.org/doc/documentation-main.html#annotations 3. What are desiredcapabilities? Desired Capabilities help to set properties for the Web Driver. A typical use case would be to [...]

Java Interview Questions & Answers – Part3

1)Difference between Application server and Web server. Web server Application server Web server serves HTTP content Application server serves HTTP, RMI/RPC etc. Webserver is suitable for static content. Application server supports dynamic content also. Webserver does not contain inbuilt web server component. Application server contains inbuilt web server component. IIS, Jetty, Tomcat, Apache etc... Is [...]

By | 2017-07-13T15:39:22+00:00 July 13th, 2017|Categories: Uncategorized|Tags: , , , |0 Comments

Java Interview Questions & Answers – Part2

1)What is the different between inheritance and interface? Inheritance: In java classes can be derived from classes. Basically if you need to create a new class and here is already a class that has some of the code you require, then it is possible to derive your new class from the already existing code. This [...]

By | 2017-07-12T15:31:45+00:00 July 12th, 2017|Categories: Interview Questions|Tags: , , |0 Comments

Java Interview Questions & Answers – Part1

1)What are Web Services? Web services are business logic components which provide functionality via. Internet using standard protocols such as HTTP. It is created using Soap or Rest. For E.g. in Google search page we got results like feeds, advertisement , news etc., from multiple sites, it is by web services which enables various websites [...]

By | 2017-07-12T14:57:07+00:00 July 11th, 2017|Categories: Interview Questions|Tags: , , , |0 Comments

Top 15 Selenium Interview Questions for Freshers

1. What is JAVA? Java is a programming language or platform. Java is guaranteed to be Write Once, Run Anywhere. 2. Some Important features of JAVA Object Oriented Platform Independent Simple Secure Architecture-neutral Portable Robust Multithreaded Interpreted High Performance Distributed Dynamic 3. Types of Applications that Run on Java Desktop Graphical User Interface Applications Mobile [...]

C & C++ Interview Questions and Answers

(1) What will be output if you will compile and execute the following c code? struct marks { int p:3; int c:3; }; void main(){ struct marks s={2,-6}; printf(“%d %d”,s.p,s.c); } (a) 2 -6 (b) 2 1 (c) 2 2 (d) Compiler error Answer: (c) Explanation: Binary value of 2: 00000010 (Select three two bit) [...]

.NET Interview Questions and Answers

1. What is a data type? How many types of data types are there in .NET ? A data type is a data storage format that can contain a specific type or range of values. Whenever you declare variables, each variable must be assigned a specific data type. Some common data types include integers, floating [...]

Top 15 Selenium Interview Questions and Answers

1. What is class in java? A class is a blueprint or a template for creating different objects which defines its properties and behaviors. Java class objects exhibit the properties and behaviors defined by its class. A class can contain fields and methods to describe the behavior of an object. 2. Features of Java Object [...]