How we print the contents on a[][].If the a[][] is filled with some elements.but the y dont specifiy the sizes of two dimensions arry?
A) The double value 8.6B) The string ""8.6"C) The long value 8.D) The String "5.453.2"
Latest Answer : Anser is D)The String "5.453.2" ...
What will be the result of compiling the following code: public class Test {static int age;public static void main (String args []) {age = age + 1;System.out.println("The age is " + age);}}
A) Compiles and runs with no outputB) Compiles and runs printing out The age is 1C) Compiles but generates a runtime errorD) Does not compileE) Compiles but generates a compile time error
The print( ) method is just like println( ), except that it does not output a newline character after each call
A) TrueB) False
Why the value of "I" do not change?I=0;I=I++;System.out.println("I : "+I);this print statement gives value of I as zero, why so?
In java,i can importing java.sql.package and i get resultset from database.but here i don,t implement the Result Set interface but i am using it.my question is where the interface definition are stored?
Hi,I'm doing a project using jsp, java script, HTML as front end and sql server as backend.i want to create my database inn runtime. while doing so ,1. how do i check for an already existing class2. if there is an already existing class then i need to update the table .how do i do this. can any one guide through this.vidhya
Hiwe have super class constructor and extends subclass which contains subclass constructor we create subclass obj only what’s result & what happens