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 >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1721)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (146)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
what is java bean?where can we use it?
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
JavaBeans are reusable software components for Java that
can be manipulated visually in a builder tool.[1]
Practically, they are classes written in the Java
programming language conforming to a particular convention.
They are used to encapsulate many objects into a single
object (the bean), so that the bean can be passed around
rather than the individual objects.
 
Is This Answer Correct ?    92 Yes 18 No
Sivasubramanian.k
 
Answer
# 2
Java bean is simply a java class which has getter and
setter methods.
setter methods are used to set the data.
getter methods are used to to get the data.

Java beans are used to encapsulate objects in a single java
bean so that the bean can be used or passed in other
classes.

Like in our jsp we can use this bean by using <%jspusebean>
tag.
 
Is This Answer Correct ?    79 Yes 13 No
Namita
 
 
 
Answer
# 3
javabean is encapsulate data in the form of
object.according to java specification javabean support any
number of properties and any number of events and
additional mthods..
 
Is This Answer Correct ?    26 Yes 3 No
Rameshkrishna
 
Answer
# 4
A specification developed by Sun Microsystems that defines
how Java objects interact. An object that conforms to this
specification is called a JavaBean, and is similar to an
ActiveX control. It can be used by any application that
understands the JavaBeans format.

Note:
The principal difference between ActiveX controls and
JavaBeans are that ActiveX controls can be developed in any
programming language but executed only on a Windows
platform, whereas JavaBeans can be developed only in Java,
but can run on any platform.
 
Is This Answer Correct ?    16 Yes 5 No
C.rama Kantha Rao
 
Answer
# 5
--->Java bean is component s/w.
--->java beans are used to encapsulate the data.
--->usually bean is like as object.
--->We can use java bean as setters and getters methods.
 
Is This Answer Correct ?    10 Yes 0 No
Suresh Royal
 
Answer
# 6
A JavaBeans is a reusable s/w component that can visually manipulated in builder tools. [a]
Beans can be visible objects,such as AWT components or invisible objects such as queue.
Javabean is component, coded to an specific standard, use within an application or applet
 
Is This Answer Correct ?    12 Yes 3 No
Ashok Sharma0834110008
 
Answer
# 7
JavaBeans is a reusable s/w component that can visually manipulated in builder tools. [a]
Beans can be visible objects,such as AWT components or invisible objects such as queue.
Javabean is component, coded to an specific standard, use within an application or applet
 
Is This Answer Correct ?    3 Yes 0 No
Hemantcse
 
Answer
# 8
Java bean is simply a java class which has getter and
setter methods.
setter methods are used to set the data.
getter methods are used to to get the data.

Java beans are used to encapsulate objects in a single java
bean so that the bean can be used or passed in other
classes.

Like in our jsp we can use this bean by using <%jspusebean>
tag.
 
Is This Answer Correct ?    3 Yes 0 No
Vineen
 
Answer
# 9
JavaBeans are reusable software components for Java.
Practically, they are classes written in the Java
programming language conforming to a particular convention.
They are used to encapsulate many objects into a single
object (the bean), so that they can be passed around as a
single bean object instead of as multiple individual
objects. A JavaBean is a Java Object that is serializable,
has a nullary constructor, and allows access to properties
using getter and setter methods.
 
Is This Answer Correct ?    4 Yes 2 No
Ravi Kumar Gupta
 
Answer
# 10
Java Bean is simply a java class which has some setter
methods and getter methods to represent data.It is basically
used to encapsulate many objects into a single object so
that can be distributed in network.Java beans are reusable
components.
 
Is This Answer Correct ?    3 Yes 3 No
Nisid Ranjan Jena
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Explain difference between final, finally and finalize? Cognizent 3
What is the use of static keyword in "public static void main()" Infosys 10
Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situations (in general) would you use a HashSet to store a collection of values?   1
why interfaces are faster than abstract classes?   4
Why transient variables wont participate in serialization?   2
What modifiers are used with a top level class?   3
Nested classes VS Inner classes? Infosys 3
when,where and how to use abstract class and interface   2
How to set the Heap size in Java ? HCL 2
What is casting?   5
where singleton classes are used in j2ee web application.can we use it for connection pooling.   1
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.   2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


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

ALLInterview.com   ::  KalAajKal.com