What is pre increment and post increment in java?
No Answer is Posted For this Question
Be the First to Post Answer
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); } } 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); } }
Differentiate between run time error and syntax error.
In a container there are 5 components. I want to display all the component names, how will you do that?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
Difference between method overloading and overriding.
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.
What is the purpose of finalization?
When you Click a Button, What event will be fired?
'A class is a template for an object' explain this statement.
0 Answers Akamai Technologies,
How do you start a thread?
To the class members how can we provide security?
How do you read and print a string in java?