Share on Google+Share on Google+

anurad caldera
arrays,why we cannot use this statement
0 Answer(s)      4 years and 4 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









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 Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized

Ads

 
Advertisement null

Ads