Interview Questions In Java For Selenium

Part 10

46 : What is Polymorphism?
Answer : Polymorphism is might using which nosotros tin utilisation reference variables or methods which behaves differently inwards unlike programmatic context. Best example of polymorphism is human. We behaves differently amongst unlike people inwards unlike environment. Our guide volition endure unlike when nosotros see to boss as well as see to friend. Read more on Polymorphism inwards java.

47 : What is the advantages of Polymorphism?
Answer : Main wages of polymorphism is code reusabilty. You tin dynamically provide unlike implementations through polymorphism. So it volition cut down your operate book inwards price of treatment as well as distinguishing diverse objects.

48 : What is a package?
Answer : Influenza A virus subtype H5N1 bundle is a namespace which allows developer to organizes a grouping of related classes as well as interfaces. Conceptually it is but similar folder which contains unlike types of files. It is slow to proceed things organised past times keeping related classes as well as interfaces into packages.

49 : What is string inwards java?
Answer : In Java programming, String is object which is prepared past times sequence of characters.java.lang bundle has String shape to utilisation as well as manipulate strings. Read more on string inwards java.

50 : What is StringBuffer inwards java?
Answer : StringBuffer assistance us to utilisation mutable(modifiable) string inwards java. That agency nosotros tin alter the string if nosotros role StringBuffer.
<< PREVIOUS || NEXT >>

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post