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 |
6.int x=10; float y=20; a=x%2=? b=y%2=?
How to swap values between two variables without using a third variable?
24 Answers HCL, TCS,
How to set fixed width in particular <td> in html? if i type more character in this <td> it will not push near <td>. this is my question. can u tell me the answer...
I'm new to ABAP. What is Module pool in SAP?
where is available in this mantis toturials?
hi all, i need ur help in preparing a sql which performs scd2, i mean i have a scd2 mapping i need a sql which can give me same result as scd2 mapping, SRC table: cust_no, loc 01 abc 02 xyz TGT table: pm_ky cust_no loc current_flag 1 01 abc Y 2 02 xyz Y cust 1 has changed his loc to xyz then it loads into TGT table as below, pm_ky cust_no loc current_flag 1 01 abc N 2 02 xyz Y 3 01 xyz Y i need sql to get the above result, hope got me question, Any suggestion will be appreciate.. thanks, Vinod
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
when we use mantis? how learn mantis?
through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?
How many processes can listen on a single TCP/IP port?
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
What are the main principles of OOP?