To the class members how can we provide security?
Answer / sanjay krishna n
by access modifiers, i.e Public, Private, Protected
| Is This Answer Correct ? | 22 Yes | 1 No |
What is the difference between JDBC 1.0 and JDBC 2.0?
What is OOPs & Why?
Write a java program to generate fibonacci series ?
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()); } }
Which package is always imported by default?
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.
Difference between Web-based applications,Client- Server applications and Distributed applications?
What technique can be employed to compare two strings?
Is binary a low level language?
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0
Explain, why the constructor is required in implemented class?
What are the three parts of a lambda expression? What is the type of lambda expression?