Computer Science, asked by smithas, 3 months ago

What is the output of following program
class ArrayDemol {
public static void main(String[] args)
{
int arr1[]
= new int[0];
int arr2[] = new int[-1];
System.out.print(arr1.length +
+ arr2.length);
}​

Answers

Answered by himanshu2006vps
0

Answer:

No output this picture shows correct answer

Attachments:
Similar questions