what is polymorphism in java.
Answers were Sorted based on User's Feedback
Answer / samar
polymorphism is the way to process any thing in own
specefic way but with using same method name .
eg: car, bike, generator are the various class.
and start is method name.
class car
{
start();
}
class Bike
{
start();
}
class Generator
{
start();
}
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / addy
polymorphism means having more than one form.
for eg:-an automobile.in automobile we can have
car,bikes,bus etc.
Is This Answer Correct ? | 1 Yes | 0 No |
The ability to take more than one form is known as
Polymorphism. By using the keyword interface Polymorphism
can be achieved.
Is This Answer Correct ? | 1 Yes | 0 No |
what is polymorphism in java.
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
What is the difference between an EXE and a DLL?
3 Answers ABC, Hykin Solutions, Infoedge, Infosys, Polaris,
what is the last ant version you worked?how to get it
hi viewers, tell me,what is scripting and programming, define and difference...pls
This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?
I've an application where i need to give access to all the features only to admin and only few features to normal users. Say Menu...i dont want all my menu items to be accessible to all the users only the admin people can see few all the features where as normal users can have access to limited menu items...how can i achieve this. Please note that my menu is not a database driven menu.
In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?
How same session variable can be used in both Asp and Asp.net?
Even if all fields are initialized also in a program, I am getting COBOL/400 decimal data error .why is it coming?
what do you meant by Platform-Independent in Java?
Plz Show notepad Coding using c# in window based application