# assume double[][] x = new double[4][5], what are x.length and x[2].length?

377 views

## Problem:

Assume double[][] x = new double[4][5], what are x.length and x[2].length?
A. 4 and 4
B. 4 and 5
C. 5 and 4
D. 5 and 5

4 and 5

## Related questions

14 views
Problem: When creating an application with QUI using the Qt Creator wizard, it creates a class for the window, similar to this: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = 0); ~ ... the beginning of the class, more accurately Q_OBJECT, What is this? What is it used for or what is it used for?
8 views
14 views
Problem: what is 5 star rating system in php mysql
105 views
Problem: What will be the value of x after the following code is executed? int x = 10, y = 20; while (y < 100) { x += y; } A) 90 B) 110 C) 210 D) This is an infinite loop.
1 view
Problem: I need assistance in resolving this problem: what is the solution of sqrt 2 x+4-sqrt x=2
3 views
Problem: What are the new features in .net 4.5?
5 views
Problem: I tried to find out the solution on the web when I face this problem but I did not get any fruitful information that I can continue if you read the above question and understand what is the solution of this please cooperate with me- Thanks