Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners arrays,why we cannot use this statement

Have Programming Question? Ask it here!
 
 
 


anurad caldera
arrays,why we cannot use this statement
0 Answer(s)      a year 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];



    }
}

Advertisement
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       The Tutorial illustrate an example 'Use DEFAULT Statement in Procedure'. To understand 'Default Statement in Procedure', we create
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
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
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
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 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 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
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
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
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
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
Using image in WML We can use the
this lesson we will write application that images. We can use..., in that case we can use the alt property of <img>
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
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
Web Service - Which files we have to give to client and how they will use that
Web Service - Which files we have to give to client and how they will use... and have to use it, how we call this in jsp/servlet 3) Which type of response we.... 2) In client side how they will use that, and how they call method from
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
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
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
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
'if' Statement - Braces
statement, you do not need to use braces (also called "curly brackets...);). if statement. There are about ten kinds of statements. Many of them use... Java Notes'if' Statement - Braces Braces { } not required for one
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
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
cannot connect to database - JDBC
cannot connect to database  Iam using eclipse in my system ,when connecting the database mysql version 5.0 to the eclipse iam getting an error as ""Creating connection to mysql has encountered a problem.Could not connect to mysql
The DELETE Statement
The DELETE Statement       The DELETE statement is used to delete rows from a table. database will update that is why deletion and insertion of data will be done.  Syntax    
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
cannot display an arrayList in JSP
cannot display an arrayList in JSP  Hello, My bean is called Zone, i got all Zones from sql Server with Hibernate. in DAO.Class: print("List zones = session.createQuery("FROM Zone").list();"); i want to send this List from
cannot do the additional operator
cannot do the additional operator  i got problem with additional and multiplication operator...please anyone help me <html> <head> <title>Simple Calculator</title> <script language = "JavaScript
combobox cannot be resolved in JavaFX
combobox cannot be resolved in JavaFX  I want to design one application with a combobox containing items. and while selecting i want to give user autocomplete suggestion. but while doing this combobox is not getting resolved. i
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
The SELECT statement for SQL
The SELECT statement for SQL     ... the database table called "email", use a SELECT . SELECT ... columns from the "email" table, use a * symbol instead of column names
whats the difference between struts and spring frameworks.why we use spring instead of struts
whats the difference between struts and spring frameworks.why we use spring instead of struts  whats the difference between struts and spring frameworks.why we use spring instead of struts
PdfCopyFields cannot be resolved - Java Beginners
PdfCopyFields cannot be resolved   Trying to concatenate PDF files. I downloaded the example from PdfCopyFields cannot be resolved but other
PdfCopyFields cannot be resolved - Java Beginners
PdfCopyFields cannot be resolved  PdfCopyFields cannot be resolved but other classes in the iText-2.1.0.jar are resolved. Any suggestions? Thanks
Advertisements
 

 

 

DMCA.com