In generics code, the question mark (?) is called the?
Correct Answer: Wildcard
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Which code snippets will take transform input string '2012/06/05' to output string '05 - 06 - 2012'?
What exception is thrown by this code, if arr[j]>arr[j+1]: public static void main(String[] args) { int []arr={12,23,43,34,3,6,7,1,9,6}; { int temp; for (inti=0;iarr[j+1]) { temp=arr[j]; arr[j+1]=arr[j]; arr[j+1]=temp; } } } } for(inti=0; i
Which interface makes it possible for Java to save an object to a file and turn it into a data stream?
Which statement is true regarding declaring a servlet instance in a deployment descriptor?
Which code snipped is the best to check whether a String s contains text 'oDesk'?
class Base{ private Base(){ System.out.print("Base"); } } public class test extends Base{ public test(){ System.out.print("Derived"); } public static void main(String[] args){ new test(); } } Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.
class Base{ private Base(){ System.out.print("Base"); } } public class test extends Base{ public test(){ System.out.print("Derived"); } public static void main(String[] args){ new test(); } } What is the result of compiling and running the following code?
public class A{ static{ System.out.println("static"); } { System.out.println("block"); } public A(){ System.out.println("A"); } public static void main(String[] args){ A a = new A(); } } What is the output for the below code?
In RMI program the following two steps are used to, Either extend the UnicastRemoteObject class, the exportObject() method of the UnicastRemoteObject class,
RMI has which of these protocols implementations?