P
Q. What will be the output of the following code
class PrintValue { <t> void display(t obj[]) { for(t i:obj) { System.out.println(i+” “); } } } public class MyClass { public static void main(String…args) { Abc obj1=new Abc(); Integer i[]= {1,2}; obj1.display(i); Double d[]= {1.1,2.2}; obj1.display(d); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. What is the output of the following code?
Q. What is the common UTF standard used on the Websites for information exchange?
Q. What is the output of the below Java code snippet?
Q. What is the range of short data type in Java?
Q. Which package consist an applet class? a) jav
Q. What is the output of the following code?
Q. The method to get the text of a Label
Q. What can be accessed or inherited without actual copy of code to each program?
Discusssion
Login to discuss.