Hashtable – is ContactBook() {//} defined as constructor here?

Hi,
I’m not quite clear here what is “ContactBook(){//} ” defined as ?

class ContactBook {
    Hashtable<String, String> contacts;
    ContactBook() {
            contacts = new Hashtable<String, String>();
    }
Default Asked on December 20, 2016 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.