How do you use find and replace?
No Answer is Posted For this Question
Be the First to Post Answer
How OOPS concept is achieved in Java?
6 Answers Cognizant, JPMorgan Chase, Xavient,
What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }
Can you have a constructor in abstract class?
What are the types of literals?
What are three ways in which a thread can enter the waiting state in java programming?
Need to use public,static keywords in main function?
Name the method of a Container that can be used to cause a container to be laid out and redisplayed?
Explain, why the constructor is required in implemented class?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is empty string literal in java?
Is java map thread safe?
How do you implement singleton class?