What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answer Posted / deepak
yes
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is busy spin, and why should you use it?
'A class is a template for an object' explain this statement.
Explain the difference between extends thread vs implements runnable in java?
Mention some interfaces implemented by linked list in java.
What is the default value of an object reference declared as an instance variable?
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is the synonym of framework?
How do you reverse a string in java?
What is the difference between assignment and initialization?
hr interview how many minutes asking question
What do you mean by stack?
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 Difference between Final Class && Abstract Class?
What are the benefits of operations?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?