What are the states of thread in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of private static?
What do you mean by synchronized non access modifier?
Why is sizeof not a function?
Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.
Differentiate between a constructor and a method? Can we mark constructors final?
What happens when a thrown exception is not handled?
What is the purpose of the enableevents() method in java programming?
What is a parameter used for?
What is the difference between Array and Hash Table?
What is basic syntax?
why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)
what is ststic with example