Question: 1 . Type the given program in NetBeans and run. What is the output? public class Array { public static void main ( String [

1. Type the given program in NetBeans and run. What is the output?
public class Array {
public static void main(String[] args){
int [][] mulTable = new int[10][10];
for(int i=1; i<10;i++)
for(int j=1; j<10;j++)
mulTable[i][j]=i*j;
for(int i=1; i<10;i++)
{
for(int j=1; j<10;j++)
System.out.print(mulTable[i][j]+"\t");
System.out.println();
}
String [][] refTable = new String[3][];
refTable[0]=new String[]{"Male", "Female"};
refTable[1]=new String[]{"Smith"};
refTable[2]=new String[]{"John", "Paula"};
System.out.println("Employees Info");
for(int i=0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!