What is ternary operator in java?
No Answer is Posted For this Question
Be the First to Post Answer
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()); } }
What is a modifier?
Explain purpose of sleep() method in java?
What is default specifier ??? Use of default specifier ???
Explain the importance of finalize() method.
Why local variables are stored in stack?
What is return used for in java?
What is meant by bytecode?
How multipleInheritance is possible in java?
What does the @override annotation do?
Can we catch more than one exception in single catch block?
what is type of statement in jdbc connection?