• Catalog

    Catalog

    See All
    • Courses

    Level

    See All
    • Beginner
    • Intermediate
    • Advanced

    Courses

    See All
    • Introduction to Python
    • Introduction to C
    • Introduction to C#
    • Introduction to SQL
    • Introduction to HTML
    • Introduction to CSS
    • Introduction to Java
    • Introduction to JavaScript
    • Introduction to C++
    • Tech for Everyone

    Courses

    See All
    • C# Intermediate
    • Python Intermediate
    • JavaScript Intermediate
    • C++ Intermediate
    • C Intermediate
    • SQL Intermediate
    • Game Development with JS
    • Responsive Web Design
    • Python for Data Science
    • Python for Finance

    Courses

    See All
    • React + Redux
    • Angular + NestJS
    • Python Data Structures
  • Online Compiler
    • HTML
    • CSS
    • Javascript
    • C++
    • C
    • PHP
    • Java
    • Python
    • Swift
    • C#
    • Ruby
    • Node.JS
    • Kotlin
    • jQuery
    • Go
    • R
    • TypeScript
  • Discuss
  • Blog
  • Get Pro
Menu
0

Hel java

int[][] r = new int[2]; Answer: Invalid int[] x = new int[]; Answer: Invalid What is the correct , i just know it’s not correct

java
19th Sep 2021, 6:13 AM
STOP
STOP - avatar
1 Answer
+ 1
You need to specify dimension of the array int[ ] [ ]= new int[ 3 ][ 5 ]; // 3 rows, with 5 columns each int[ ] x = new int[ 10 ]; // 1 row of 10 columns
19th Sep 2021, 6:51 AM
Ipang
Hot today
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements. beside code
0 Votes
sizeof funtion with a loop in c!
1 Votes
Guys I'm beginner can anyone help me to add photo in my docui
1 Votes
What would be some improvements you would make to this password generator?
1 Votes
1. Write a program that asks the user for their name and how many times to print it. The program should print out the user’s nam
0 Votes
How does output came as "102 f" and it also throwing some error why?
0 Votes
How front end developers and ui designers work together
1 Votes
I still fail test case 4 & 5 in mathematics code challenge.is there anything I miss?
0 Votes
how do i get the value inside this list???
1 Votes
Want to extract number and string.
0 Votes

Introduction Courses

  • Introduction to Python
  • Introduction to C
  • Introduction to C#
  • Introduction to SQL
  • Introduction to HTML
  • Introduction to CSS
  • Introduction to Java
  • Introduction to JavaScript
  • Introduction to C++
  • Tech for Everyone
  • Web Development Fundamentals
  • R
  • Data Science
  • Machine Learning
  • Coding for Marketers
  • Kotlin
  • Go
  • PHP
  • Ruby
  • Swift 4

Intermediate Courses

  • C# Intermediate
  • Python Intermediate
  • JavaScript Intermediate
  • C++ Intermediate
  • C Intermediate
  • SQL Intermediate
  • Game Development with JS
  • Responsive Web Design
  • Python for Data Science
  • Python for Finance
  • jQuery

Advanced Courses

  • React + Redux
  • Angular + NestJS
  • Python Data Structures

Community

  • Discuss
  • Code Bits
  • Blog
Follow us on Linkedin
Check out our facebook
See what we tweet about
Join our instagram
Watch our Youtube
HomeTop LearnersProFAQContactBug Bounty ProgramCareersTerms of UsePrivacy PolicySololearn mobile
Made with
by  Sololearn | ©2023