arrays,why we cannot use this statement

arrays,why we cannot use this statement

import java.util.*;
class Dash{
    public static void main(String args[]){
        int x0=100;
        int[] x1=new int[3];
        int[][] x2=new int[3][3];
        int[][][] x3=new int[3][3][3];    
        int[][][][] x4=new int[3][3][3][3];




        x3=x4[0][0][0];



    }
}
View Answers

Ads









Related Tutorials/Questions & Answers:
arrays,why we cannot use this statement
arrays,why we cannot use this statement  import java.util.*; class Dash{ public static void main(String args[]){ int x0=100; int[] x1=new int[3]; int[][] x2=new int[3][3]; int[][][] x3
arrays,why we cannot use this statement
arrays,why we cannot use this statement  import java.util.*; class Dash{ public static void main(String args[]){ int x0=100; int[] x1=new int[3]; int[][] x2=new int[3][3]; int[][][] x3
Advertisements
Use if statement with LOOP statement
Use if statement with LOOP statement   ... with Example The Tutorial illustrate a example from if statement with LOOP statement. In this example we create a procedure display that accept
Nested If Statement
. Nested If statement means to use the if statement inside the other if statement. Here we are providing you an example using Nested-If statement. In the example, we... Nested If Statement      
Use DEFAULT Statement in Procedure
Use DEFAULT Statement in Procedure   ... Statement in Procedure'. To understand 'Default Statement in Procedure', we create... ;   Call Procedure To invoke a procedure 'abc', we use call
use of return statement
use of return statement  what is the use of return statement
Use HANDLER Statement in Cursors
Use HANDLER Statement in Cursors       Use HANDLER Statement in Cursor is used to define... The Tutorial illustrate an example from 'Use HANDLER Statement
Use DECLARE Statement in Procedure
Use DECLARE Statement in Procedure       Use DECLARE Statement in Procedure is used to define... illustrate an example from 'Use Declare Statement in Procedure'. To grasp
Use DEFAULT Statement in Procedure
Use DEFAULT Statement in Procedure       The Tutorial illustrate an example 'Use DEFAULT Statement in Procedure'. To understand 'Default Statement in Procedure', we create
How to use select Statement in MySQL?
How to use select Statement in MySQL?  Hi, How to use select Statement in MySQL? I want to learn the various ways to use the SQL select statement... the select statement in MySQL Suppose we have following table: CREATE TABLE
Use DECLARE Statement in Procedure
Use DECLARE Statement in Procedure       Use DECLARE Statement in Procedure is used... The Tutorial illustrate an example from 'Use Declare Statement
for statement
for statement  for(int i=0;i<5;i++); { system.out.println("The value of i is :"+i); } if i end for statement what will be the output   got the answer.. it displays only the last iteration that is "The value of i
Use Break Statement in jsp code
Use Break Statement in jsp code       The break statement is used to terminate...;H1>use break statement in jsp code</H1> <% double array
Use HANDLER Statement in Cursors
Use HANDLER Statement in Cursors       Use HANDLER Statement in Cursor is used to define... The Tutorial illustrate an example from 'Use HANDLER Statement
How to use 'if' statement in jsp page?
How to use 'if' statement in jsp page?  ... how to use 'if' statement in jsp page. This statement is used to test conditions. You can understand use of this statement by a real world example. Suppose
Use Compound Statement in JSP Code
Use Compound Statement in JSP Code       A compound statement is collection.... The following jsp code will show you how to use compound statement. compound
Break Statement in java 7
Break Statement in java 7 In this tutorial we will discuss about break... of your loop (do-while, while, for or switch statement). In switch statement we use break at the end of each case. There is two kinds of break statement
What is the difference between a break statement and a continue statement?
statement and exit from the loop and loop is terminated. Sometimes we do not need to execute some statements under the loop then we use the continue statement... statement is used in other programming languages such as C, C++. In case we want
Continue Statement in java 7
Continue Statement in java 7 In this tutorial we will discuss about continue statement in java 7. Continue Statement : Sometimes you need to skip block of statements under specific condition so for that you can use continue
difference between prepared statement and statement
difference between prepared statement and statement  i mean in prepared statement we write insert command as INSERT INTO tablename VALUES(?,?) but in normal statement we write insert into tablename(jtextfiled1.gettext
Java - Break statement in java
times we need to exit from a loop before the completion of the loop then we use... Java - Break statement in java     ...; 2.The continue statement   3.The return statement Break: The break
The Switch statement
. To avoid this we can use Switch statements in Java. The switch statement is used... the computer jump to the end of the switch statement. Remember, if we won't use break... a statement following a switch statement use break statement within the code block
Continue statement in java
of the condition in the loop, we can do this with the use of continue statement...Continue statement in java In this section we will discuss about continue statement in java. continue is one of the branching statement used in most
SQL SELECT DISTINCT Statement
. In order to overcome the duplicate values from a column, we will use SELECT... SQL SELECT DISTINCT Statement       In this example we will show you the usage of Distinct
Statement Batch Update
and how to use it. Here, we are providing an example with code to execute... with the database then we will execute multiple SQL statement in a batch for updating... Statement Batch Update      
springbootservletinitializer cannot be resolved to a type
springbootservletinitializer cannot be resolved to a type  Hi, I have a web application and it is giving following error in eclipse: springbootservletinitializer cannot be resolved to a type What dependency should is Add
The import javax.validation cannot be resolved
The import javax.validation cannot be resolved  Hi, I have a web application and due to missing maven dependency it is giving following error in Eclipse: The import javax.validation cannot be resolved. What maven dependency
org.hibernate.validator cannot be resolved error
org.hibernate.validator cannot be resolved error  In Hibernate based application my application is giving following error: org.hibernate.validator cannot be resolved error Program is not compiling due to this error. How
GsonBuilder cannot be resolved to a type
GsonBuilder cannot be resolved to a type  Hi, I am using GsonBuilder in my program and it is giving following compilation error: GsonBuilder cannot... that's why its throwing above compilation error. If you add the required jars
GsonBuilder cannot be resolved to a type
GsonBuilder cannot be resolved to a type  Hi, I am using GsonBuilder in my program and it is giving following compilation error: GsonBuilder cannot... that's why its throwing above compilation error. If you add the required jars
GsonBuilder cannot be resolved to a type
GsonBuilder cannot be resolved to a type  Hi, I am using GsonBuilder in my program and it is giving following compilation error: GsonBuilder cannot... that's why its throwing above compilation error. If you add the required jars

Ads