Explain what access modifiers can be used for variables?
No Answer is Posted For this Question
Be the First to Post Answer
Which is not Object in Java?
Wha is the output from system.out.println(“hello”+null); ?
What is the difference between the font and fontmetrics classes in java programming?
What's the difference between int and integer in java?
How does serialization work
What are the types of statement? explain
Can u write constructor in abstract.If yes den when it will be invoked.
Is ++ operator is thread safe in java?
When a byte datatype is used?
What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }
Why java does not support pointers?
What is difference between string and new string?