arrays,why we cannot use this statement

Ads
 

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
use of return statement
use of return statement  what is the use of return 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 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
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 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
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 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
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
Why do we use ORM?
Why do we use ORM?  Why do we use ORM?   ORM is technology... programming. In ORM we define the way of mapping of classes to table and also define the mapping of which property for which column. In ORM we can use plain java
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
why we use constructors instead of methods in java?
why we use constructors instead of methods in java?   why we use constructors instead of methods in java
why we use abstract class in java?
why we use abstract class in java?  what is the the purpose of abstract class.Give example when to use abstract and when use interface
Why we use singleton class in hibernate sessionfactory?
Why we use singleton class in hibernate sessionfactory?  Hello, Please tell me why we use singleton class in hibernate sessionfactory? hibernate sessionfactory singleton example would be very helpful. Thanks
Can we use Jmeter for testing a PHP website???
Can we use Jmeter for testing a PHP website???  Can we test a website in PHP using Apache jmeter? Actually, I want to perform load testing of my PHP website. So, whether it will be useful or should I go with any other? Plz
why we use struts framework instead of springs
why we use struts framework instead of springs  why we use struts framework instead of springs    It depends upon your application requirements.In some cases spring is better and in some cases struts is better
why we use design patterns in java?Example?
why we use design patterns in java?Example?  Hi..... Why we use design patterns?,why they are needed in programming languages?,advantages?   hi friend, please go through the following links may this will be helpful
why we use ^ operator in sql, and what is the meaning of that operator?
why we use ^ operator in sql, and what is the meaning of that operator?  why we use ^ operator in sql, and what is the meaning of that operator
can we use class in jsp which implements interface
can we use class in jsp which implements interface   can we use class in jsp which implements interface
where exactly we use interface and where abstract class?
where exactly we use interface and where abstract class?  what is the use of interface over abstract class? and where we should use interface and where abstract class
Use if in velocity
Use if in velocity       This example shows you how to use if statement in velocity. Description...;, "E"]): This is a statement named 'set', generally begins
How to use switch statement in jsp code
and that will be an error. The example below demonstrates how we can use switch statement in our JSP... How to use switch statement in jsp code   ... of the block Main reason is to use break statement is find proper output
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
which values we have to use for compressing any color image
which values we have to use for compressing any color image  Sir........... in the process of compressing of any color image, which values do use as input for comprseeing algorithm. and how to get the image matrix from color
Why we should use string args[] in main method in java?
Why we should use string args[] in main method in java?  we use only string in the main method not any other one.. specify the reason... and tell me...;By running a program at a command line we can pass some arguments
Use multiple catch statement in single jsp
Use multiple catch statement in single jsp  ... exception so we can use multiple catches or Exception class (base class of all exceptions). When exception occurs while executing any statement within try block

Ads