Differentiate between run time error and syntax error.
Answer / Amit Kumar Sagar
A runtime error, also known as a dynamic error, occurs during the execution of a program. Examples include NullPointerException, ArrayIndexOutOfBoundsException, and DivisionByZeroError. A syntax error, on the other hand, is a mistake in the program's code that prevents it from being executed correctly.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain
Difference between vector and arraylist.
Differentiate between array list and vector in java.
What is append in java?
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
What is Co-Variant return type in method overriding?
What is regex java?
Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?
how to print output with out using sop statements
can you use the two main method in same class?how?
4 Answers DELL, Geosoft, SparkTG,
How do you sort in ascending order in java?
What is the unit of plancks constant?