Why do we need data structure in java?
No Answer is Posted For this Question
Be the First to Post Answer
write a program to create an vector and listeterator.and value should be enter through keyboard.
Is it possible to override the main method?
What is string [] args?
What are keywords in java?
Java is Pass by Value or Pass by Reference?
what is Vector class?
Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.
What is an example of character?
What makes a function well defined?
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }
What is object-oriented paradigm?
What is default specifier ??? Use of default specifier ???