Java Interview Questions with Answers, Tips for Cracking Interview in advanced java , Java java script

Latest Tough Java (Manual and java script) Interview Questions and Answers for Experienced and Freshers

with Tips & Tricks how to Crack interviews in MNC Companies

Get Started with Free Demo Class:
  1. Java
    1. What are the limitations of Java?
    2. What is the difference between Java IDE, Java RC, and WebDriver?
    3. What is the difference between assert and verify commands?
    4. What is the difference between “/” and “//” in Xpath?
    5. What are the element locators available in Java?
    6. Which of the Id, Name, XPath, Or CSS Selector Should You Use?
    7. How do you get the nth sub-element using xPath?
    8. How do you get the nth sub-element using css selector?
    9. How do you launch the browser using WebDriver?
    10.What are the different types of waits available in WebDriver?
    11.What is the difference between implicit wait and explicit wait?
    12.How can you find if an element in displayed on the screen?
    13.How to handle frame in WebDriver
    14.What is WebDriver in Java
    15.What is findElement(), sendKeys() and isDisplayed() in Java?
    16.What are the exceptions you know in Java
    17.When you will get elementnotinteractableexception
    18.How to find more than one web element in the list?
    19.What is difference between findElement() and findElements()?
    20.What is the difference between driver.close() and driver.quit command?
    21.Can Java handle web based based alerts?
    22.How to mouse hover on a web element using WebDriver?
    23.How to retrieve CSS properties of an element?
    24.How to capture screenshot in WebDriver?
    25.Can you automate the signup page which contains a captcha
  2. 26.What is the use of JavaScriptExecutor?
    27.How to handle a dropdown in Java WebDriver? How to select a value from
    the dropdown?
    28.How to switch to a new window (new tab) which opens up after you click on a
    29. Can you enter text without using sendKeys()? can you find broken links in a page using Java WebDriver?
    31.Which of the WebDriver APIs is fastest, And Why?
    32.How do you pass credentials to an authentication popup in Java?
    33.How do you get value of a textbox in Java?
    34.What is the difference between “GET” And “NAVIGATE” methods?
    35.What is the difference between getWindowHandle() And getWindowHandles()
    36.What is the difference between close() and quit()?
    37.What are the annotations available in TestNG/ jUnit?
    38.How to skip a method or a code block in TestNG?
    39.How does TestNG allow you to state dependencies? Explain it with an example.
    40.What challenges have you faced with Java? And how did you overcome
    41.What benefits does TestNG have over the JUnit framework?
    42.What is Group Test in TestNG?
    43.Is TestNG capable of running multiple suites?
    44.What is data-driven framework?
    45.What is behaviour driven framework?
    46.What is Page Object?
    47.Explain about your framework
    48.What do you use Java Grid?