can you explain how to use JavaBean in Project

Answer Posted / murali

javabean is same as javaclass but in javabean we are using
only setters and getters methods we cannot use other methods
most of the project we are using setters and getters
because in project we set the data and get the data only
these things will happen most of the times

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between class and object with example?

564


What is constructor in oop?

589


Can we have inheritance without polymorphism?

617


What is inheritance in oop?

604


Is enum a class?

607






What is this pointer in oop?

557


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1645


What are the 3 pillars of oop?

618


What do you mean by overloading?

583


What is encapsulation with example?

581


What are the advantages of polymorphism?

577


What is purpose of inheritance?

645


What is abstract class in oop?

536


What is a function in oop?

633


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

1623