Can a class have more than one object?
No Answer is Posted For this Question
Be the First to Post Answer
What is abstract class? Explain
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is the access scope of a protected method?
How much ram can a 64 bit processor theoretically?
What is qms certification?
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 all methods are used to prevent thread execution ?
What is collection sort in java?
when System.out.println("") is executed what happens in the back ground?
explain me with a code snippet about the generation and handling of null point exceptions.
Does string isempty check for null?
Why singleton pattern is better than creating singleton class with static instance?