ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
 Categories >> Software >> Java Related >> Java J2EE >> J2EE       
Suggest New Category 
 


 

  Question  Asked @ Answers Views     select
 
Whats the O/p of the below code snippet ? And explain how does it imply the concept of call-by-value/call-by reference. (PS : Pls ignore syntax errors) public class One { public oneA(){ sop ("Into One--");} } public class Two extends One{ public twoT(){ sop ("Into Two--"); } } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(a.oneA()); sop(t.oneA()); sop(a.twoT()); sop(t.twoT()); } } Wipro  4  900
Explain the following statement: Java is always pass-by-value. Wipro  4  2739
what is direct link to download swing ebook,applet,ejb,core java  0  518
how to run servlet program between two computer through internet ? TATA  0  754
what is the difference between servlets and jsp? Cegonsoft  2  2253
what is the difference between application server and web server? Cegonsoft   5  3295
what is meant by proxy server  1  1270
Which implicit object in jsp is synchronized?  5  2598
What is the use of RequestProcessor, if we are having ActionServlet in struts Oracle  4  2963
static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable Infosys   5  2596
Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8 Amazon  2  1944
Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.  6  1137
write a program, when a statement is entered, it should display in reverse order. Ex: Statement is "I am writing program in reverse order". Output should be like "order reverse in program writing am I".  4  1414
Difference between treemap & sortedset Oracle  2  1909
Diffrence between arraylist and hashmap Oracle  3  1511
E-Mail New Answers        Answer Selected Questions        Post New J2EE Question
Prev    1   2   3    [4]   5    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
how to run servlet program between two computer through internet ? 754 TATA
whay java does not support bass by reference 481 NIIT
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 ? 339 Sony
Hi Friends. I want complete technical flow of j2ee project with following technologies. jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE layers . 1175 Infosys
public class ActionSearchBean extends GenericSearchBean<ActionDTO, Long, ActionDTO> { @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 ? 302 Sony
what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface? 367 HCL
I Want build and release interview questions 626  
Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you... 297  
In DAO we are writting sql queries , how it is possible with creating and closing database connections. 291  
what is direct link to download swing ebook,applet,ejb,core java 518  
to update a batch in a table in jdbc which method of statement object is used 365  
you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why? 466  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com