Comment

nilam shaikh
why,
January 5, 2008 at 4:29 PM

Why to use this?
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

Why the null Pointer exception is comming? - Java Beginners
Why the null Pointer exception is comming?  My code is given below: import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import 

Java Beginners

Why is the main method declared static?
the static method. For more visit http://www.roseindia.net/java/beginners...Why is the main method declared static?  Hi, Why is the main method... Java class always has the same signature, and we declare public static void main 

Java Beginners

what fastest DataStructre(efficient) in java? and why? - Java Beginners
what fastest DataStructre(efficient) in java? and why?  what is the fastest data Structres in java? and how,why compare to other DataStructer from other 

Java Beginners

why java does not support multiple inheritance - Java Beginners
why java does not support multiple inheritance  hello friend, i knows that multiple inheritance is not supported in JAVA but this program looks ok then why we can not extends multiple classes in a single class, eventhough 

Java Beginners

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 

Java Beginners

why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we all know that to prepare webapplications we will create a direcotry sturcture like webroot direcotry (eg:- f:\ourwapp) a)creating a direcotry 

Java Beginners

why to create directory structure as web-inf & classes & lib - Java Beginners
why to create directory structure as web-inf & classes & lib    we all know that to prepare webapplications we will create a direcotry sturcture like webroot direcotry (eg:- f:\ourwapp) a)creating a direcotry 

Java Beginners

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 

Java Beginners

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 

Java Interview Questions

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... is executed under JAVA Runtime Environment which has several Security related checking 

Java Beginners

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 

Struts Questions

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 

Java Beginners

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 

Hibernate Tutorial Example

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... Hibernate saves the development time Hibernate allows to map the Java 

XML Tutorials

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 

Java Interview Questions

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 

General

Why Java as a programming Language?
Why Java as a programming Language?       Why Java as a  programming Language? Java is a general...://www.roseindia.net/java/new-to-java.shtml http://www.roseindia.net/java/beginners/where 

Java Beginners

Why doesn't Java allow overriding of static methods?
Why doesn't Java allow overriding of static methods?  Why doesn't Java allow overriding of static methods 

Java Beginners

Why does Java not support operator overloading?
Why does Java not support operator overloading?  Hi, Why does Java not support operator overloading? thanks 

Java Beginners

why java program not run with msword editor
why java program not run with msword editor  if java program write in MICROSOFT WORD then why they are not run with jdk 

Java Beginners

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 

PHP Tutorial

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... complex data exchange, Java objects, and CORBA 

Java Beginners

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 

Java Beginners

java program - Java Beginners
://www.roseindia.net/java/beginners/MatrixMultiply.shtml Thanks...java program   Pl. let me know about the keyword 'this' with at least...(){ return(length*breadth); } } public class UseOfThisOperator 

Hibernate Interview Questions

what is java and why do i need it?
what is java and why do i need it?  Hi, Please tell me what is Java and why do i need it? Is it free to download? Also explain me how to write and test my first Java Application? What is the configuration or system requirement 

Java Beginners

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 

Hibernate Interview Questions

Why do we use ORM?
Why do we use ORM?  Why do we use ORM?   ORM is technology to access the data from the database. With the help of ORM framework, business... define the mapping of which property for which column. In ORM we can use plain java 

Java Beginners

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 

Java Interview Questions

Which java collection to use in scenario below and Why?
Which java collection to use in scenario below and Why?  I want to store thousands of record in a collection and later I want to search. For best and optimized results, which collection will I prefer 

Hibernate Questions

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... to implement your java cache. 4) Development is faster in Hibernate than JDBC. 5 

Java Beginners

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 

Java Beginners

java - Java Beginners
Why it is named as Java  Why it is named as Java ..and what is the main purpose of the Java Programming language 

JDBC Questions

java [ cannot retrive date from sql ] why??
java [ cannot retrive date from sql ] why??   import java.util.Date; import java.text.SimpleDateFormat; import java.text.ParseException...=st.executeQuery("select amt from add where dte= "+sdf.format(da)+" "); // why 

Java Interview Questions

why the occupancy rate is zero? - Java Interview Questions
why the occupancy rate is zero?  import java.util.Scanner; public class lab3 { public static void main(String[]args) { int floor; int...); } } why the occupancy rate is always zero? please help. tq.  Hello 

Java Beginners

java beginners - Java Beginners
java beginners  pl. let me know the answers of the following questions : 1) A program is unable to create objects of a class declared globally... of giving a constructor with default arguments. 3) explain why constructor 

Java-Tutorials

Java tutorial for beginners
Java tutorials for beginners will help them learn the basic of Java.... Here is why a Java beginner should work on Java language and not any other... and Java class library. The tutorials that are available here for beginners 

Spring Framework

Why to use Spring Framework?
and why developers are using the most popular Java application development...Why to use Spring Framework in a web application? In this article I... web applications. Spring Framework easily integrates with other Java based 

Java Beginners

java threads - Java Beginners
java threads  What is Thread in Java and why it is used 

Java Beginners

why my keyevent not function ? - java swing -
why my keyevent not function ? - java swing -   import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import 

Java Beginners

why my keyevent not function ? - java swing -
why my keyevent not function ? - java swing -   import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import 

Java Beginners

Java basics - Java Beginners
literals in java program  Why we use literals in java program?  Hello,A literal is the source code representation of a fixed value...://www.roseindia.net/java/beginners/Varconstltr.shtml for more code and examples on Java 

Java Beginners

java beginners - Java Beginners
java beginners   the patteren u received is not the actual patteren which i need the program i don't know why the patteren does not reach in proper formate to you . it was in upside down triangle form . at the top 

Java Beginners

pointers in java - Java Beginners
pointers in java  Why pointers concept are not used in java 

Java Beginners

for writting java program why we are taking more than one class
for writting java program why we are taking more than one class  for writting java program only one class is enough but why we are taking more than one class 

Java Interview Questions

Why does Java provide both abstract class as well as interface
Why does Java provide both abstract class as well as interface  why does java have both abstract class as well as interface? what is the need or importance of having both 

JavaMail Questions

why mails are sending from the linux server - JavaMail
why mails are sending from the linux server  Mails are not sending... and Our java application is inside linux server. Whenever we send the mails from java application,mail are not sending .Mail server is installed on windows 2003 

Java Beginners

java - Java Beginners
java  why main() execution starts defaultly by jvm 

Java Beginners

String immutable - Java Beginners
String immutable  Why is String immutable?  See here Why String is immutable in Java 

Java Beginners

Java Syntax - Java Beginners
://www.roseindia.net/java/beginners/array_list_demo.shtml Thanks...Java Syntax  Hi! I need a bit of help on this... Can anyone tell me why i get an error [List cannot be resolved to a type] when i try to do 

Java Beginners

About basics - Java Beginners
About basics  Why we are typing java program in text editor? Why we are running the java program in command prompt 

Java Beginners

java datatypes - Java Beginners
java datatypes  Why are floating point constants stored in double size(8 bytes) by default even if it can be stored in float size(4 bytes 

Java Beginners

java - Java Beginners
java  why java is called so?  Hi Friend, It was named after the name of coffee from java island which was so famous and coffee is itself called Java in US slang. Thanks 

Web Services

Why Web Services?
Why Web Services? In this section of WebServices tutorials series we will understand why Web Services are developed and what are the benefits of using Web Services for  the development of  Enterprise applications. Why 

Training

Why roseindia.net
Why roseindia.net       Roseindia.net is the only organization that provides the free online training to the beginners as well as the experienced professionals. Generally other 

Java Beginners

JAVA - Java Beginners
JAVA  how can we say java is powerfull language than other languages?  Hi friend, For solving the problem visit to : http://www.roseindia.net/java/gettingstartedwithjava/why-java.shtml Thanks 

Java Beginners

java - Java Beginners
java  why we use classpath.?  Hi Friend, We used classpath to tell the Java Virtual Machine about the location of user-defined classes and packages in Java programs. Thanks 

Programming Tutorials

EJB, Enterprise java bean- Why EJB (Enterprise Java Beans)?
Why EJB (Enterprise Java Beans)?        Enterprise Java Beans or EJB for short is the server-side component architecture for the Java 2 Platform 

Java Beginners

java - Java Beginners
java  hi sir good evening what iam asking is why java is platform independent language,how can you say it is like let me know briefly 

Java Beginners

core java - Java Beginners
core java  public static void main(String[] args) why are write only string[].. why cann't write int,float   Hi Friend, Because it is very easy to convert string to other data type. Thanks 

Java Beginners

interface variables - Java Beginners
interface variables  why interface variables are final? explain me with good program example?? i knw why the variable is static but,i dont knw why it is final by default? thanks in advance 

Java Beginners

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 each and every meaning of public static void main(String args[])...    

Java Beginners

java datatypes - Java Beginners
java datatypes  I havn't set the environmental variables, but I have downloaded the java software from CD given by my friend. Now, it's working. Why are floating point constants stored in double size(8 bytes) by default even 

Java Beginners

Java Inheritance - Java Beginners
Java Inheritance  Since every object inherits from Object class, why the following statement is not true. Assuming the code tries to open a file then instead of using throws IOException why not use throws Object? import 

Java Beginners

Wrapper Class - Java Beginners
Wrapper Class  What is Wrapper class? Why are they use 

Java Beginners

Java basics - Java Beginners
question is why java is complaining (L3 through L8) when main method signature... to visit... http://www.roseindia.net/java/beginners/ Thanks...Java basics  I have two classes class cat { int height, weight 

Java Beginners

Java Syntax - Java Beginners
/java/beginners/array_list_demo.shtml Thanks...Java Syntax  Hi! I need a bit of help on this... Can anyone tell me why i get an error [List cannot be resolved to a type] when i try to do 

Java Beginners

java - Java Beginners
java  1.what are the hibernate exception? 2.what collections will we use in project and why? 3.what is the importance of threads in project... by using throws clause? 5.what are the bean scopes? 6.who implimented jvm in java 

Java Beginners

java - Java Beginners
java  Hi, how to run a java class at particular time everyday automatically. please reply me.  Hello, i think you want to use job sheduling. why not try Quartz api for time and job sheduling 

Java Beginners

java - Java Beginners
java  why JVM executes only main method by defaultly?why not executes the user defined static method? that means,show below program... invoke the m1(). but main() execution start defaultly by JVM. why not jvm 

Java Beginners

Java Threads - Java Beginners
Java Threads  Why we use synchronized() method?  Hi Friend...: http://www.roseindia.net/java/thread/synchronization.shtml http://www.roseindia.net/java/java-methods/java-method-synchronized.shtml Thanks 

Java Beginners

Java Abstraction - Java Beginners
Java Abstraction  If we declare a class as abstract then it contains may or may not be abstract mathod? why? In abstract class if we declare... Friend, Please visit the following links: http://www.roseindia.net/java/master 

Java Beginners

java - Java Beginners
java  Q>: Why two folders get installed during installation of JDK?Wht is the use of two folders?   use advance jdk installer jdk-6u12-windows-i586-p.exe 

PHP Tutorial

Why would we want a Database?
Part-3 : Why would we want a Database? Most of the beginners are asking this question why do we need database in our application or program. They don't know how useful the database is, when you are making a dynamic website. It provides 

Java Beginners

Core java - Java Beginners
Core java  Hello sir/madam, Can you please tell me why multiple inheritance from java is removed.. with any example.. Thank you...://www.roseindia.net/java/master-java/inheritance.shtml Thanks  Hi 

Java Beginners

java related - Java Beginners
java related  Why the "public static void main(Strings args[]){}?? why we use static key words here!!!?  Hi Friend, This statement is necessary for a java class to execute it as a command line application 

Java Beginners

Java Stack - Java Beginners
Java Stack  Can you give me a code using Java String STACK using the parenthesis symbol ( ) the user will be the one to input parenthesis... is the cause why is it invalid is it excess in open parenthesis (...or close parenthesis 

Java Beginners

java - Java Beginners
java  Why java does not support multiple inhertance?  Hi... the interface. In Java Multiple Inheritance can be achieved through use of Interfaces... information : http://www.roseindia.net/java/master-java/inheritance.shtml Thanks 

Java Beginners

Inheritance Overloading - Java Beginners
://www.roseindia.net/java/beginners/constructoroverloading.shtml...(); } } But the output is: 1 2 7 Can anyone tell me, why the output is this. I am 

Java Beginners

interface variables - Java Beginners
interface variables  why interface variable is by default final? what was the necessisity to make it final? plz explain me with good java prog 

Java Beginners

core java - Java Beginners
core java   sir why did u declare or intilize the variables in static main method().. But non-static members are does't decalred in the static function?? we only declare the static members in static function only 

Spring Framework Questions

Why spring?
Why spring?  Why do we need to learn Spring? and where can we use it thanks 

Java Beginners

Java - Java Beginners
Java  (1) What is the exact difference between insance and object in java. (2) Somebody tells Runnable and Comparable also "Markar Interfaces" why ?. It's also having one method. (3) How exact work Servlets "Single 

Java Beginners

java - Java Beginners
java  what is the importance of System.out.print("");? in this why we will use System,".",out, and print?  Hi Friend, It is the syntax of Java used to display a string on the console window or the computer screen 

Java Beginners

java question - Java Beginners
java question  given a method header below pulic void setNew Values(doublelen,doublewid) (a)what would happen if i use the method as setNew Values(2,4)and state reason why?  Hi Friend, It will accept the integer 

Java Beginners

java - Java Beginners
java   can we declare the constructor as private?  Hi Friend, yes, you can declare the constructor as private. Having only private... constructor as private. Thanks  Hi Friend, Why you want 

Java Beginners

java - Java Beginners
for different platform. Thanks   Yes, Java is platform indipendent. Because we can run any java program in tany system. Means if i am running my java program in windows & same program i can run in solaris operating system 

Java Beginners

interface - Java Beginners
Interface meaning in java  What is the meaning of Interface? and why we need to call 

Java Beginners

Compiling Error - Java Beginners
Compiling Error  cant able to compile java servlet file in the command prompt? WHY? but i can compile normal java file give me answer to fix my problem 

Java Beginners

main func - Java Beginners
main func  why do we pass array of strings in main function of java?  Hi Friend, It is used to signify that the user may opt to enter parameters to the java program at command line. Thanks 

Java Beginners

java - Java Beginners
java  why we will use the public static void main(String args... is necessary for a java class to execute it as a command line application. public.... void- It specifies the return type. main- This method in java is designed 

Java Interview Questions

Beginners in Java
Beginners in Java  Hi, I am beginners in Java, can someone help me... tutorials for beginners in Java with example? Thanks.   Hi, want to be command over Java, you should go on the link and follow the various beginners 

Java Beginners

java features - Java Beginners
java features  Why java is called as neutral language  hai frnd.. JAVA is not neutral language...but ARCHITECTURE-NEUTRAL.. 1 of the main... program malfunction. the java designers made hard attemp to alter 

Java Beginners

Java basics - Java Beginners
Java basics  I have two classes class cat { int height, weight...; jill.weight = 30; jack.talk(); jill.talk(); //} } My question is why java is complaining when main method signature is commented out though ?I do 

Java Beginners

enumerations in java - Java Beginners
enumerations in java  Why enumerations is used in java ?????  Hi Friend, Java Enumerated types specifies what values can be assigned to a variable.This makes the Java code more readable.Enumerations are type safe 

Mobile Applications Questions

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 

Java Beginners

java beginners - Java Beginners
the following links: http://www.roseindia.net/java/beginners/StringTokenizing.shtml http://www.roseindia.net/java/beginners/tokenizingjavasourcecode.shtml...java beginners  what is StringTokenizer? what is the funciton 

Java Beginners

Java - Java Beginners
is started in eclipse. Please explain why the above happens?And how to make... void main(String args[]) { File f1 = new File("/tmp/java"); File f11...://www.roseindia.net/java/example/java/io/ http://www.roseindia.net/java/java-tips 

Java Beginners

Java Exception - Java Beginners
Java Exception  Why we are using throws in the java program even... links: http://www.roseindia.net/java/exceptions/how-to-throw-exceptions.shtml http://www.roseindia.net/java/exceptions/ Thanks  try/catch 

Java Beginners

why and where we use setter and getter methods in java, please give me one example program.....
why and where we use setter and getter methods in java, please give me one example program.....  why and where we use setter and getter methods in java, please give me one example program 

Java Beginners

Java - Java Beginners
Java  Hi, Why and when will i get "package does not exist" error in JSP? Also I need the steps to resolve the same.... Regards, Ragavendran.R  Hi Friend, This error occurs when you are importing a package 

Advertisements Advertisements
 

 

 

DMCA.com