What is run time polymorphism?
Answer Posted / haridini
At run time it is decided that which version of the same
method should be used. Its basically concept of over
riding.And a very powerful mechanism which is implemented
in java.
| Is This Answer Correct ? | 23 Yes | 4 No |
Post New Answer View All Answers
Can you pass by reference in java?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
How is hashset defined in java?
Difference between throw and throws?
Difference between arraylist and hashset in java?
how to one war file class to another war file class?
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
What is a modifier?
What are sets in java?
What is a concrete classes? Is Java object class is concrete class?
what is meant by Byte code concept in Java?
explain the difference between jdk and jvm?
What is definition and declaration?
How do you add spaces in java?
What is java and their uses?