Java EE - Interview Questions and Answers for 'Java beans' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java EE - Interview Questions and Answers for 'Java beans' - 5 question(s) found - Order By Newest

 Q1. How to generate getters and setters automatically in eclipse ?Eclipse
Ans. Right Click -> Source -> Generate Getters and Setters.

and it will open up a dialog wherein we can select the fields to generate Getters and Setters.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     eclipse   java beans


 Q2. What ate the getter and setter methods ?
Ans. getters and setters methods are used to store and manipulate the private variables in java beans. A getters as it has name, suggest retrieves the attribute of the same name. A setters are allows you to set the values of the attributes.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   java beans   getter   setter


 Q3. What is a Java Bean ? How is it different from other Java classes ?
Ans. A Java bean is a class which abides by following conventions:

Core of the object is member elements and not operations ( methods )

Member Elements can be accessed by getters (and setters if those properties are not read-only).

serializable.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java bean   javabean   pojo   classes      basic        frequent


 Q4. Which type of EJB can use bean pooling?Java EE
Ans. Stateless Session Beans

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     EJB  java beans     Asked in 1 Companies


 Q5. What is a session bean ?Java EE
 This question was recently asked at 'BirlaSoft'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     session bean   java bean     Asked in 1 Companies



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: