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


Please Help Members By Posting Answers For Below Questions

What is busy spin, and why should you use it?

598


'A class is a template for an object' explain this statement.

558


Explain the difference between extends thread vs implements runnable in java?

559


Mention some interfaces implemented by linked list in java.

549


What is the default value of an object reference declared as an instance variable?

546






In a class implementing an interface, can we change the value of any variable defined in the interface?

568


What is the synonym of framework?

576


How do you reverse a string in java?

602


What is the difference between assignment and initialization?

573


hr interview how many minutes asking question

1577


What do you mean by stack?

656


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; }

1856


What is the Difference between Final Class && Abstract Class?

635


What are the benefits of operations?

530


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

599