What is the difference between Java Bean and Java Class.?
Answer Posted / shadow
Basically a Bean is a java class but it has getter and
setter method and it does not have any logic in it, it is
used for holding data.
On the other hand the Java class can have what a java bean
has and also has some logic inside it ....!
$HADOW
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How to sort list of list in java?
What is the significance of listiterator?
What’s the difference between applets and standalone program?
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; }
What is the meaning of variable in research?
What is member in java?
Can you give few examples of final classes defined in java api?
List primitive java types?
What are the super most classes for all the streams?
What is numeric function?
What is class array in java?
What’s the difference between callable and runnable?
Do you need to import math in java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What does super keyword do?