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

How to make a class immutable?

Bosch, TSYS,

15 30601

If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da???

TCS,

5 12456

What is a constructor?

4 6028

What is the difference between Abstract Class and Interface

Amdocs,

8 15746

In HashTable I am storing null value..then what is the error it will show

GM General Motors,

2 12206

In web.xml file instead of *.do can i write *.ibm, Specify with example

IBM,

13 23211

How many ways to remove the session object in the container

Bosch,

6 18193

How to perform Singleton of the java class object on multi JVM?

2 12589

How to send a request to garbage collector?

4 8258

while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

Banking,

2556

when i run Frame program, it display output in supparate window.i try to close using "X" it not close.min'-' & max'+' are working.pls what is problem? i run in editplus. folowing program i given. import java.awt.*; class Form1 { Frame f1=new Frame("loginpage"); Label l1=new Label("username"); Label l2=new Label("password"); TextField tf1=new TextField(); TextField tf2=new TextField(); Button b1=new Button("submit"); Form1() { f1.setLayout(new FlowLayout()); f1.add(l1); f1.add(tf1); f1.add(l2); f1.add(tf2); f1.add(b1); f1.setSize(437,440); f1.setVisible(true); //f1.dispose(); } public static void main(String[] args) { Form1 f=new Form1(); } }

4 9203

java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null while working with struts it displayed pls very ungent

IBM,

3 21928

What happens when database down in weblogic

HCL,

8 24518

What is the use of RequestDispatcher in servlet?

Accenture, CTS, TCS,

18 55815

How can you say HashMap is syncronized?

Arete, IBM,

14 20956


Un-Answered Questions { Java Related }

What is the this keyword?

1032


Difference between DurableSubscription and non- DurableSubscription?

2196


What are the advantages of compiled language?

1079


Explain the different groups under web logic security?

895


Explain the difference between collection api and stream api in java8?

975


What is spring @autowired?

400


What is the difference between execute, executeQuery, executeUpdate?

1033


What is swing gui?

933


How does predicate work in java?

992


What is the difference between char and char *?

1080


What are different types of control structures?

977


What are the types of cookies in java?

976


What is the difference between the http servlet and generic servlet?

1147


Define context initialization parameters.

1042


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 ?

2578