Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Java Related Interview Questions
Questions Answers Views Company eMail

What is the difference between Access Modifier and Access specifier?

1 7309

Is it possible to write method inside method

L&T,

4 12228

what is the default value of a variable char?(If not assigned)

4 7619

Write a java program to get a string of words and print the numbers of each word count in descending order

Logica CMG, Subex,

11 31362

what is the function of OS

3 5946

what is the serialization?

TCS,

2 5111

Which is the Best institute to do academic Project in Java? Need information about institutes at Ameerpet, Hyderabad.

8 14534

Where can I find data structures question and answers with comprehensive working code written in Java

Amazon,

2506

what is the life cycle of jsp?

HCL, ITC Infotech,

1 5777

Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 10309

what's the main difference between unix os and linux os?

TCS,

2 7149

Hi 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.

Cybermate, Hexaware,

4 9874

public class ActionSearchBean extends GenericSearchBean { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?

Sony,

1 2556

public 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,

1 2649

if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.

Wipro,

4 7279


Un-Answered Questions { Java Related }

Write a program to print count of empty strings in java 8?

1077


Explain public static void main(string args[]) in java.

1063


What is difference between @controller and @restcontroller in spring?

536


What do you mean by an interface in java?

1095


Can we return resultset in java?

985


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2657


How can you inject java collection in spring?

503


What if I write static public void instead of public static void?

928


What are the contents on web.xml in struts application ?

1058


What is latest hibernate version?

486


what is reflection api? How are they implemented?

1101


Realized?

2254


How to create a base64 decoder in java8?

1131


What is the difference between filters and interceptors ?

1297


How is declarative handling of exceptions done in struts ?

1001