Friday, August 24, 2018

Interview Questions Inwards Coffee For Selenium

| Friday, August 24, 2018
Part 10

46 : What is Polymorphism?
Answer : Polymorphism is might using which nosotros tin usage reference variables or methods which behaves differently inwards dissimilar programmatic context. Best illustration of polymorphism is human. We behaves differently amongst dissimilar people inwards dissimilar environment. Our behaviour volition hold upward dissimilar when nosotros reckon to boss in addition to reckon to friend. Read more on Polymorphism inwards java.

47 : What is the advantages of Polymorphism?
Answer : Main payoff of polymorphism is code reusabilty. You tin dynamically provide dissimilar implementations through polymorphism. So it volition trim your travel book inwards damage of treatment in addition to 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 in addition to interfaces. Conceptually it is but similar folder which contains dissimilar types of files. It is slow to continue things organised past times keeping related classes in addition to 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 usage in addition to manipulate strings. Read more on string inwards java.

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

Related Posts