2. Write a interface "Car" with the following methods
void setName(String)
String getName()
void setColor(String)
String getColor()
void setModel(long)
long getModel()
Answer / suresh sa
interface car{
void setName(String s);
String getName();
void setColor(String color);
String getColor();
void setModel(long model);
long getModel();
}
I Think u r trying to create getter and setter fields for
the above parameters better go for POJO, rather than going
for interface
| Is This Answer Correct ? | 1 Yes | 0 No |
httt method
What are the differences between the java collection and the java list? : java collections
2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()
How to use ANT?
i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com
What are the types of interface used in the java collections? : java collections
what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API?
What are the interfaces in java collections? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What is a constructor?
Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...
what is difference between business deligate and session facade ?