What is pre increment and post increment in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

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); } }

0 Answers  


Differentiate between run time error and syntax error.

0 Answers   Amdocs,


In a container there are 5 components. I want to display all the component names, how will you do that?

0 Answers  


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

0 Answers   Mphasis,


Difference between method overloading and overriding.

0 Answers  






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.

9 Answers  


What is the purpose of finalization?

4 Answers  


When you Click a Button, What event will be fired?

5 Answers  


'A class is a template for an object' explain this statement.

0 Answers   Akamai Technologies,


How do you start a thread?

0 Answers  


To the class members how can we provide security?

1 Answers   Aspire,


How do you read and print a string in java?

0 Answers  


Categories