What access modifiers can be used for methods?
No Answer is Posted For this Question
Be the First to Post Answer
How do you add an element to an arraylist in java?
What Is Composition?
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 string in java? String is a data type?
Why string is immutable with example?
What is an immutable class? How to create an immutable class?
How is final different from finally and finalize?
Is null == null in java?
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 Answers Global Logic, Satyam,
What is private static in java?
Can an object?s finalize() method be invoked while it is reachable?
Why does my function print none?