Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) Write a java program to get a string of words and print the numbers of each word count in descending order
11 30935Which is the Best institute to do academic Project in Java? Need information about institutes at Ameerpet, Hyderabad.
8 14229Where can I find data structures question and answers with comprehensive working code written in Java
2437Can we write Structs application without using Action Class directly or indirectly(extends Action class)
5 10114Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 9729public class ActionSearchBean extends
GenericSearchBean
Sony,
2487public class ActionDTO extends GenericDTO implements Serializable,Auditable { // default serial version id, required for serializable classes. public static final String ACTION_SUSPEND = "SPN"; public static final String ACTION_DEREGISTER = "DRR"; public static final String ACTION_REINSTATE = "REI"; private static final long serialVersionUID = 1L; private Long actionId; private long accountId; private Date actionDate; private String actionType; private String remarks; private AccountDTO account; public ActionDTO() { } public ActionDTO(Long accountId, String action, String remarks, String updatedBy) { setAccountId(accountId); setActionType(action); setActionDate(new Date()); setRemarks(remarks); setUpdatedBy(updatedBy); } public Long getActionId() { return this.actionId; } public void setActionId(Long actionId) { this.actionId = actionId; } public long getAccountId() { return this.accountId; } public void setAccountId(long accountId) { this.accountId = accountId; } public Date getActionDate() { return this.actionDate; } public void setActionDate(Date actionDate) { this.actionDate = actionDate; } public String getActionType() { return this.actionType; } public void setActionType(String actionType) { this.actionType = actionType; } public String getRemarks() { return this.remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } // bi-directional many-to-one association to AccountDTO public AccountDTO getAccount() { return this.account; } public void setAccount(AccountDTO account) { this.account = account; } @Override public String toString() { // TODO Auto-generated method stub return null; } } what is the purpose of @Override public String toString()...and what will do here ?
Sony,
2598if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.
4 7045
What does pojo mean?
Explain restrictions for using anonymous inner classes?
What are the topics in core java?
Can two objects have same hashcode?
How you get nodeagent……what you have to install to get nodeagent?
What is empty string literal in java?
What is the use of @ejb annotation?
What is the purpose of static methods and variables?
What is preflight request?
What is session clear in hibernate?
What are the ddl statements?
How is message oriented middleware responsible for no time dependency between sender and receiver component with respect to point to point model on jms?
Is jpa and hibernate same?
Write a factorial program using recursion in java?
Explain inversion of control and dependency injection through a simple example.