Why can't we override private static methods?
No Answer is Posted For this Question
Be the First to Post Answer
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?
Can anonymous class have constructor?
What is object english?
Program to output as below formate: 1 2 3 4 5 6 7 8 9 10
Is cout buffered?
is set interface synchronized by default???
What is Major and importance difference between for and foreach loop ?
How to create an immutable class?
How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?
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 role of the java.rmi.naming class?
can you use the two main method in same class?how?
4 Answers DELL, Geosoft, SparkTG,