1.

How many methods are there in the History object?(a) 3(b) 4(c) 5(d) 6

Answer» The correct answer is (a) 3

To explain: There are three methods belonging to the History object namely :

back()

forward()

go()

back() loads the previous URL, forward loads the next URL and go() loads a specific URL in the history list.


Discussion

No Comment Found

Related InterviewSolutions