How many methods does cloneable interface contains?
Answer Posted / janet
It is not having any method because it is a TAGGED OR
MARKER interface.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What is udp in java?
What is compareto?
What will be the output of round(3.7) and ceil(3.7)?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is the static import?
What is the difference between interface & abstract class?
What is user defined exception in Java?
How to convert string to byte array and vice versa?
If an object is garbage collected, can it become reachable again?
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; }
Why constructor has no return type?
What is stringbuffer in java?
What is difference between string and stringbuffer?
Does java support multiple inheritances?
What is java util concurrentmodificationexception?