How u dubugg ur project?
Answer / sayed tabrez
If ur using an IDE for Development such as Eclipse or
NetBEans they give u the option to debug. they have
debugger in the options.
| Is This Answer Correct ? | 3 Yes | 1 No |
What is the purpose of declaring a variable as final?
java program with complete 4 oops concepts implemented example
What is the difference between a break statement and a continue statement?
What is public static?
What is treeset in java collection?
What is the meaning of nullable?
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).
Can we initialize the final blank variable?
Why java is platform independent? Explain.
How to implement Singleton
Which one will take more memory: an int or integer?
Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.