ZapCom Group
Emirates National Facilities Management Interview Questions and Answers
Q1. what is interface in java an d explain OOPS concepts
An interface in Java is a reference type, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.
Interfaces in Java are used to achieve abstraction and multiple inheritance.
Interfaces cannot have method bodies, only method signatures.
Classes can implement multiple interfaces, but can only extend one class.
Example: interface Shape { void draw(); }
Example: class Circle implements Shape { public void draw() { Sys...read more
Q2. write the xpath or CSS code for selected value in the amazon site
XPath code for selected value in Amazon site
Use the 'contains' function to locate the selected value
Identify the unique attributes of the selected value to create a specific XPath
Consider using the 'text()' function to locate text within an element
Q3. Java Program for count of characters in the given string
Java program to count characters in a given string
Use a HashMap to store characters and their counts
Iterate through the string and update the counts in the HashMap
Print the characters and their counts at the end
Q4. explain POM framework
POM framework is a design pattern used in automation testing to create an object repository for web elements.
POM stands for Page Object Model
It helps in creating reusable code and reduces code duplication
Each web page is represented as a separate class, with locators and methods to interact with elements
Improves test maintenance and readability
Q5. Program for reverse string
Program to reverse a string using array of characters
Create an array of characters from the input string
Iterate through the array in reverse order and append each character to a new string
Return the reversed string
Q6. Java8 concept all java 8 feature, used in project
Java 8 features used in project
Lambda expressions for functional programming
Stream API for efficient data processing
Default methods for backward compatibility
Date and Time API for improved date handling
Optional class for null checks
Parallel processing for improved performance
Q7. Tell me about automation framework
An automation framework is a set of guidelines, best practices, tools, and libraries used for creating and executing automated tests.
Automation frameworks provide structure and organization to automated testing efforts.
They help in reducing maintenance efforts by promoting reusability of code.
Frameworks can be data-driven, keyword-driven, or hybrid in nature.
Popular automation frameworks include Selenium, Appium, and Robot Framework.
Interview Process at Emirates National Facilities Management
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month