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




Have Programming Question? Ask it here!
 
 
 


anurad caldera
why this can't
0 Answer(s)      a year and 9 months ago
Posted in : Java Interview Questions


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:
why this can't
why this can't  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
Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?
Is it modify Object data? Generally Object data can't modify............but in this program it modifies.......... Why?   import java.io.*; public class Conversions { public static void main(String args[]) throws Exception
Advertisements
can't connect to MySQL Server(10060) - JDBC
can't connect to MySQL Server(10060)  Hii Sir, I am working with a jsp project with MySQL as server. Now i want to host my application. I am created a DB in the Hosting MySQL server and now i want to create a table By using
Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
can't read my xml file in java
can't read my xml file in java  i've a xml file like this : <table ID="customer"> <T> <C_CUSTKEY>1</C_CUSTKEY> <C...(); } the codes can't read the xml file bcz i want to append the whole xml in my gui
Add color to background but I can't labels or textfields
Add color to background but I can't labels or textfields  Please help me to fix this. public static void main(String[] args) { JFrame f = new JFrame(); SchoolOption f1 = new SchoolOption(); Color c
Why NSMutableDictionary
Why NSMutableDictionary  Why NSMutableDictionary is used for?   NSMutableDictionary inherits from NSDictionary class, which is used to manage mutable associations of keys and values. Actually, NSMutableDictionary
Why request.getParameter(
Why request.getParameter(  Hi all, I want to to do upload file in my folder and that time i want to store date in my MySQL Database. Here...="POST"> why it happen? Anybody plz help me.. i want use it my project...plz
Why this is not working...?
Why this is not working...?  import java.util.*; public class Family { int size_of_family=0; public Person[] members=new Person[size_of_family]; Person d = new Person(); public Family (int size_of_family){ members = new
mysql error 1042 can't get hostname for your address
mysql error 1042 can't get hostname for your address  Hi, I am not able to connect to MySQL database. Its giving following error: mysql error 1042 can't get hostname for your address How to solve this error? Thanks  
why jre in jdk
why jre in jdk  why jre in jdk
Why it called Struts?
Why it called Struts?  Why it called Struts
why the php is open source?
why the php is open source?  why the php is open source
why using static keyword
why using static keyword  why using static keyword
Why is super.super.method(); not allowed in Java?
Why is super.super.method(); not allowed in Java?  Why is super.super.method(); not allowed in Java
i need to answer this Question but i can't do it probably
i need to answer this Question but i can't do it probably   use the web to locate the lyrics to the traditional song"The Twelve Days of Christmas" the song contains a list of gifts received for the holiday.the list is cumulative
why not float main?
why not float main?  why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main
why not float main?
why not float main?  why should the main be int or void?why cant it be float or char? why int main()?why not float main()?or char main
Why Ajax for web?
Why Ajax for web?  Hi, Why Ajax is so important in web applications development? Thanks
Why "<![CDATA[ ]]>" CDATA tag.
Why tag.  . Why do we use this tag and what is the name of this tag
Java is an opensource program or not? why???
Java is an opensource program or not? why???  Java is an open source program or not.. why
why get method is used?
why get method is used?  why get method is used in 60% commercial application while using post is more secure
why php and mysql - PHP
why php and mysql  I noticed in most of the application that developer always use mysql with PHP. Why they do so,, as there are money other database are too available
why crieterias are importent in hibernate?
why crieterias are importent in hibernate?  why crieterias are importent in hibernate?   HiberanteTemplate is a class proposed by spring softies, here everything will be ready made to use. that is capsulized
Why Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
Why Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
why java is securable ?
why java is securable ?  why java is securable ?   Hi Friend, Java is secured because of following reasons: 1) It doesn't allow readability as it contains byte code understandable only to JVM. 2)The byte code
Why Generics was introduced in Java?
Why Generics was introduced in Java?  Hi, Why Generics was introduced in Java and what is was its motive? Thanks   Generics were introduced in Java for the development of more bug free code. It enables the code
Why NSString Objective C
Why NSString Objective C  Why we use the NSString class in Objective C and how to define and initialize the NSString Class?   Why NSString Objective C NSStrings is a class that deals with strings in objective c
why servlet as controller - Struts
why servlet as controller   Hi Friends, Main reasons for using servlet as a controller in struts. why not jsp . Thanks Prakash  Hi Friend, JSP is again a servlet which is having HTML syntax with java support.All
Why is this code working
Why is this code working  Looking at this piece of code: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef...\n", ptr->x, ptr->y); return 0; } Why is it running correctly when I
Why bufferedreader is used in java?
Why bufferedreader is used in java?  Hi, What is the use of BufferedReader class in Java? why bufferedreader is used in java? It will be great if anyone can give me the example code of BufferedReader class in java. Thanks
Why application server is important?
Why application server is important?  Hi, I have to select the good application server for running my Java based web applications. Which application server or tomcat container is good to run the application. On my website
why it is throwing classCastException.
why it is throwing classCastException.   public class Redwood extends Tree { public static void main(String[] args) { new Redwood().go(); } void go() { go2(new Tree(), new Redwood()); go2((Redwood) new
why cant i close this ??
why cant i close this ??  import java.util.Scanner; public class square { public static void main ( String [] args) { Scanner keyboard = new Scanner (System.in); int N; N = keyboard.nextInt
Why hibernate is used?
Why hibernate is used? Hibernate is leading ORM solutions for developing the persistence layer of the enterprise applications. It provides gives performance and the application developing is also very simple if Hibernate is used
Why XML?, Why XML is used for?
Why XML? In this section we will understand the importance of XML and see Why... the structured data into XML files. There are various uses of the XML files. Why XML... Why XML is so important in programming? These days programming of almost all
Why is it a bad practice to call System.gc?
Why is it a bad practice to call System.gc?  Why is it a bad practice to call System.gc
Why are my variables not dividing properly?
Why are my variables not dividing properly?  Why are my variables not dividing properly
why the program is showing error?
why the program is showing error?  <%@page import="java.sql.*"%> <% try{ Connection conn = null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); conn = DriverManager.getConnection("jdbc:odbc:sample
Multi Threading is not working in that why...?
Multi Threading is not working in that why...?   import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Date; public
why to use hibernet as a dataacces layer
why to use hibernet as a dataacces layer  plz give me the reply
why php is open source - PHP
why php is open source  i know it's silly question but i would like to know why php is open source
Why PHP ?
Why PHP? Reasons to use PHP are given below: 1.    PHP is open source, free to download and use : PHP is free and you can download the setup from http://php.net/downloads.php site. Open source is a development method
Best JDBC Driver and Why - JDBC
Best JDBC Driver and Why   Hi Friends , In JDBC 4 drivers are there among this which is best and why. which driver is most commonly used in web application
 

 

 

DMCA.com