Question: arrays,why we cannot use this statement

Ads

 
 
 

Share on Google+Share on Google+

anurad caldera
arrays,why we cannot use this statement
0 Answer(s)      4 years and 5 months ago
Posted in : Java Beginners
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];



    }
}
Ads
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 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
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      
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
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 Semicolon after SQL Statements?
Why we use Semicolon after SQL Statements?  Why we use Semicolon... at the end of each SQL statement.The semicolon character is a statement terminator.Semicolon is the standard way to separate each SQL statement in database systems
When are you supposed to use endif to end the conditional statement?
When are you supposed to use endif to end the conditional statement?  When are you supposed to use endif to end the conditional 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 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 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
can we use include files in struts.....? - Struts
can we use include files in struts.....?  hi, i have a doubt that whether we should not redirect from one jsp to another jsp directly using include r jsp:include directives. I heard that it is violation of struts rules if we
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
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      
The UPDATE Statement
with a emp_name of "Amar" then we should use the following SQL... The UPDATE Statement       The UPDATE statement is used to modify the data in the database table through
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
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
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
Tutorials   
Java Spring Hibernate Struts Training Apache Commons ioutils maven dependency Read/Convert an inputStream to a String What is the meaning of Java Platform? Why Java is a platform independent language? What is the benefits of learning Core Java? Which technology should I learn after Java? What is array in java with example? How to Convert ArrayList to Array? How to substring in Java? How to format number in Java? What is instance variable in Java? How to download MySQL JDBC driver? What is Calendar class in Java? Which is the best Java tutorials for beginners? How to rename a file in Java? How to delete file in Java code? How to get day from date in Java using Calendar? How to get day of week in Java? How to calculate Date Difference in Java? How to compare date in Java? How to declare array in Java? How to calculate average of array in Java? What is Array in Java? write a java program to find the summation of all the integers entered on command line Sum of two numbers using command line arguments in Java How to create and use Array in Java? How to pass command line arguments in Java? How to create Applet Hello World? Appending String efficiently in Java How to append String in Java? How to list even numbers between 1 and 100? How to add BigDecimal in Java? What is Abstraction In Java? Which is best Beginners Java Tutorial? What is java.util package? Create list from array in Java Filter collection in Java 8 What is the best way to filter a Java Collection? Easy way to transform Collection to Array? How to convert Collection to Array in Java? What are Basic Java Language Elements? Advanced Java Tutorials in 2017 Java brief history Best Reasons to learn Java Java Example Codes and Tutorials in 2017 How do I read a large file quickly in Java? Is learning Java worthwhile? How to create first Java Program? Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include?

Ads

 
Advertisement null

Ads