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:
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
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
Advertisements
Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks
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
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  
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 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 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 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 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 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 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
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
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
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
Why Struts in web Application - Struts
Why Struts in web Application  Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash
openJPA - Why merge is doing an insert
openJPA - Why merge is doing an insert  Why merge on the parent class is doing an insert instead of update? Also, if I try to persist a child, it tries to insert in the parent. The primary key already exists in the parent. Any
STACK - WHY THE OUTPUT COMES LIKE THIS?
STACK - WHY THE OUTPUT COMES LIKE THIS?  //: holding/StackTest.java import net.mindview.util.*; public class StackTest { public static void main... has dog My WHY THE OUTPUT COMES LIKE
why zero? - Java Interview Questions
why zero?  import java.util.Scanner; public class Simple { public... number is" + lowest); } } why the lowest number is zero?.. i know by default it will be zero.. but why i can get value for largest number
why to use hibernet vs jdbc
why to use hibernet vs jdbc  plz send me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC is database specific 2) Hibernate is a set of Objects so there is no use of sql whereas
Why Outsource Work - Read Why Need of Outsourcing Services
Outsourcing : Why Outsource Work? Introduction Many businesses, big and small alike, go for outsourcing these days. There are many benefits derived from outsourcing, but the most important one is that outsourcing enables one
why php is called hypertext preprocessor - PHP
why php is called hypertext preprocessor  why php is called hypertext preprocessor
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 servletcontainer can,t call the Init() method ?
Why servletcontainer can,t call the Init() method ?  Why servletcontainer can,t call the Init() method
Why Outsourcing, Why Outsourcing Service, Why Outsourcing Work
Why Outsource? Introduction Different firms have different specific business situations that call for outsourcing. Some organizations take to outsourcing just because they are hard pressed for time, or because they believe
Why binding attribute is required in jsf frame work
Why binding attribute is required in jsf frame work  Why binding attribute is required in jsf frame work. And what use of binding attribute
why java file save as its class name
why java file save as its class name  hi,this is subbareddy vajrala.my doubt is why java files save as its class names
Why System class not in jsp - JSP-Servlet
Why System class not in jsp  Hi Friends, why system.out.println("") not working in jsp . But out.println is working I want the reason pz . Thanks Prakash
Why servlet in WebApplication - Servlet Interview Questions
Why servlet in WebApplication  Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller... reason for implementing business logic with servlets , why not jsp
Why servlet in WebApplication - Servlet Interview Questions
Why servlet in WebApplication  Hi friends, am newbie to servlet. My interviewer asked why used servlet in your application. i used servlet for controller logic and business logic . is it correct
why business logic in servlets - JSP-Interview Questions
why business logic in servlets  why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic
Why the wait(),notify() should not avaialable in Thread class.
Why the wait(),notify() should not avaialable in Thread class.  wait(),notify(),notifyall() is available in Object class.We are using those method in Threading then why don't they put the 3 methods in thread class
why set doesn't allow duplicate value
why set doesn't allow duplicate value  HI Everyone Any one can help me why set not allowed duplicate value in java. Please post ur comment, its urgent. Thanks in advance
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.  it shows error file does not exist
Why SEO,Why SEO is Important,Importance of Search Engine Optimization
Why SEO - Search Engine Optimization       In this article I will explain why SEO (Search Engine Optimization) is very important in increasing website traffic. This also tells you why Search
Why string is storing null value - IoC
Why string is storing null value  I am reading lines from a file and then splitting it with " " as the criteria If line has first element null... it is also storing null value in temp. WHY so
Why Offshore Outsourcing,Why Offshore Outsourcing Useful,Why Need of Offshore Outsourcing Services
Why Offshore Outsourcing? Introduction Offshore outsourcing has established itself as a business trend for many years now. Offshore outsourcing has gained popularity mainly for two reasons, namely the flexibility it offers
Advertisements
 

 

 

DMCA.com