Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

What is the difference between a static and a non-static inner class?  April 15, 2013 at 11:08 AM
Hi, What is the difference between a static and a non-static inner class? Thanks ... View Questions/Answers

What is an abstract method?  April 15, 2013 at 11:07 AM
Hi, What is an abstract method? thanks ... View Questions/Answers

What is a local, member and a class variable?  April 15, 2013 at 11:06 AM
Hi, What is a local, member and a class variable? thanks, ... View Questions/Answers

Advertisement

What modifiers are allowed for methods in an Interface?  April 15, 2013 at 11:05 AM
Hi, What modifiers are allowed for methods in an Interface? thanks, ... View Questions/Answers

What is Externalizable?  April 15, 2013 at 11:03 AM
Hi, What is Externalizable? Thanks, ... View Questions/Answers

Why does Java not support operator overloading?  April 15, 2013 at 11:03 AM
Hi, Why does Java not support operator overloading? thanks, ... View Questions/Answers

jsp-servelet,error http404  April 15, 2013 at 10:04 AM
I am using mysql commandclient to connect with eclipse using jsp and servelet. I keep getting the error hhtp 404. Register.jsp Name:<input type="text" name="userName"/><... View Questions/Answers

java language  April 14, 2013 at 11:06 AM
Define a class named Doctor whose objects are records for a clinic‚??s doctors. Derive this class from the class Person given in Listing 8.1. A Doctor record has the doctor‚??s name‚??defined in the class Person‚??a specialty as a string (for example Pediatrician, Obstetrician, General Practition... View Questions/Answers

PROBLEM IN FORM VALIDTION  April 14, 2013 at 9:20 AM
i applied validation IN THIS JSP PAGE.if i leave username/password empty,i will be promped to enter those to feilds.but the PROBLEM is that after i press OK on validation prompt,the page goes to 2_control.jsp.I WANT IT TO GO TO NXT PAGE ONLY IF the validation thing is ok,not otherwise.plz hlp.... View Questions/Answers

Default constructor generate two random equations  April 13, 2013 at 7:17 AM
Need to create a default constructor in a programmer defined class that generates a random question, addition or subtraction. And when adding the numbers must be random from 0-12 and when subtracting the first number must be from 6-12, while the second is less than the first numb... View Questions/Answers

poi deals with ole2 iwant to deal with msword 2007  April 12, 2013 at 8:23 PM
import java.io.*; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi.hwpf.usermodel.CharacterRun; import org.apache.poi.hwpf.usermodel.Range; import org.apache.poi.poifs.filesystem.POIFSFileSystem; public class WriteIn... View Questions/Answers

Dont Post Inner Adv and Adult Content Adv .  April 12, 2013 at 7:45 PM
Hi RoseIndia Team. Am Java Developer. Am Refer this site regularly in Home and Office. My Problem is while am referring here some adult content site here . we unable to refer anything in office because of this . our office band your site . this is tutorial forum . If you post like this ... View Questions/Answers

JAVA  April 12, 2013 at 4:52 PM
java programming language software for window 7 64 bit ... View Questions/Answers

JAVA  April 12, 2013 at 4:52 PM
java programming language software for window 7 64 bit ... View Questions/Answers

Java Program  April 12, 2013 at 1:54 PM
Helle can anyone provide me one example for these question? 1 . Write a method that involves the use of command line parameters and class instantiation. Write a method that processes a file based on given criteria which includes string and/or character processing.... View Questions/Answers

Check duplicate values and the count in an arraylist and store it in another list  April 12, 2013 at 8:43 AM
Hi All, I have a list which has four fields: year name, month name, file info and count of search string. I need to count month name and the total of search string in that month and put that values in a new list. Please help to solve this logic. Many Thanks ... View Questions/Answers

hi  April 11, 2013 at 11:39 PM
sql date format is yyyy/mm/dd and user enter dd/mm/yyyy in textfields so when insert textfield value in sqldatabase table so how can convert date format so insert date store in sql table.? ... View Questions/Answers

What is a Marker Interface?  April 11, 2013 at 5:12 PM
Hi, What is a Marker Interface? thanks, ... View Questions/Answers

Can a Class extend more than one Class?  April 11, 2013 at 4:38 PM
Hi, Can a Class extend more than one Class? thanks ... View Questions/Answers

Can an Interface extend another Interface?  April 11, 2013 at 4:37 PM
Hi, Can an Interface extend another Interface? thanks, ... View Questions/Answers

Can an Interface implement another Interface?  April 11, 2013 at 4:35 PM
Hi, Can an Interface implement another Interface? Thanks, ... View Questions/Answers

Can a method inside a Interface be declared as final?  April 11, 2013 at 4:30 PM
Hi, Can a method inside a Interface be declared as final? Thanks, ... View Questions/Answers

Can a method inside a Interface be declared as final?  April 11, 2013 at 4:30 PM
Hi, Can a method inside a Interface be declared as final? Thanks, ... View Questions/Answers

Can a abstract class be defined without any abstract methods?  April 11, 2013 at 4:28 PM
hi, Can a abstract class be defined without any abstract methods? thanks, ... View Questions/Answers

Can you create an object of an abstract class?  April 11, 2013 at 4:26 PM
Hi, Can you create an object of an abstract class? Thanks, ... View Questions/Answers

What is use of a abstract variable?  April 11, 2013 at 4:24 PM
Hi, What is use of a abstract variable? thanks, ... View Questions/Answers

What is use of a abstract variable?  April 11, 2013 at 4:24 PM
Hi, What is use of a abstract variable? thanks, ... View Questions/Answers

Can a abstract class be declared final?  April 11, 2013 at 4:24 PM
Hi, Can a abstract class be declared final? Thanks, ... View Questions/Answers

What is an Abstract Class and what is it's purpose?  April 11, 2013 at 4:22 PM
Hi, What is an Abstract Class and what is it's purpose? Thanks, ... View Questions/Answers

Can we declare a static variable inside a method?  April 11, 2013 at 4:21 PM
Hi, Can we declare a static variable inside a method? thanks, ... View Questions/Answers

What is the importance of static variable?  April 11, 2013 at 4:20 PM
hi, What is the importance of static variable? thanks ... View Questions/Answers

classes and objects  April 11, 2013 at 11:02 AM
Define a class named Doctor whose objects are records for a clinic√Ę‚?¨‚?Ęs doctors. Derive this class from the class Person given in Listing 8.1. A Doctor record has the doctor√Ę‚?¨‚?Ęs name√Ę‚?¨‚??defined in the class Person√Ę‚?¨‚??a specialty as a string (for example Pediatrician, Obstetrician... View Questions/Answers

How to write to file using FileWriter  April 11, 2013 at 10:58 AM
hi, How to write to file using FileWriter thanks, ... View Questions/Answers

How to write to file using FileOutputStream  April 11, 2013 at 10:48 AM
Hi friends, Please help me in java program. How to write to file using FileOutputStream? thanks, ... View Questions/Answers

how to write to file primitive type double  April 11, 2013 at 10:30 AM
Hi, How to write to file primitive type double in java program? thanks ... View Questions/Answers

Java programming using ArrayList Help?  April 11, 2013 at 10:15 AM
Hi,can anybody help and guide me on doing this java program? (Largest rows and columns)Write a program that randomly fills in 0s and 1s into an n-by-n matrix,prints the matrix,and finds the rows and columns with the most 1s.(HINT:Use two ArrayLists to store the row and column indices with the mos... View Questions/Answers

Java programming using ArrayList Help?  April 11, 2013 at 10:14 AM
Hi,can anybody help and guide me on doing this java program? (Largest rows and columns)Write a program that randomly fills in 0s and 1s into an n-by-n matrix,prints the matrix,and finds the rows and columns with the most 1s.(HINT:Use two ArrayLists to store the row and column indices with the mos... View Questions/Answers

pdf to xml conversion  April 10, 2013 at 9:23 PM
i want to convert pdf file into xml file.. where i am having a table in pdf file with some headers and some data into it. i want the headers to be the tag of xml file. how can i do that using java? please help me asap. ... View Questions/Answers

What is ORM  April 10, 2013 at 6:43 PM
Hi, What is ORM in Hibernate? thanks, ... View Questions/Answers

What are the restriction imposed on a static method or a static block of code?  April 10, 2013 at 5:04 PM
hi, What are the restriction imposed on a static method or a static block of code? Thanks ... View Questions/Answers

When will you define a method as static?  April 10, 2013 at 5:03 PM
Hi, When will you define a method as static? thanks, ... View Questions/Answers

Can a class be declared as static?  April 10, 2013 at 5:02 PM
Hi, Can a class be declared as static? thanks, ... View Questions/Answers

Can you give few examples of final classes defined in Java API?  April 10, 2013 at 5:01 PM
Hi, Can you give few examples of final classes defined in Java API? thanks ... View Questions/Answers

What is the purpose of declaring a variable as final?  April 10, 2013 at 5:00 PM
Hi, What is the purpose of declaring a variable as final? Thanks ... View Questions/Answers

What is the access scope of a protected method?  April 10, 2013 at 4:59 PM
Hi, What is the access scope of a protected method? thanks ... View Questions/Answers

Can a class be declared as protected?  April 10, 2013 at 4:58 PM
Hi, Can a class be declared as protected? thanks ... View Questions/Answers

Which package is imported by default?  April 10, 2013 at 4:57 PM
hi, Which package is imported by default? thanks ... View Questions/Answers

What is a package?  April 10, 2013 at 4:56 PM
hi, What is a package? thanks ... View Questions/Answers

Can a main method be declared final?  April 10, 2013 at 4:55 PM
Hi, Can a main method be declared final? Thanks ... View Questions/Answers

Can a main method be overloaded?  April 10, 2013 at 4:55 PM
Hi, Can a main method be overloaded? thanks, ... View Questions/Answers

What is the arguement of main method?  April 10, 2013 at 4:54 PM
hi, What is the arguement of main method? thanks, ... View Questions/Answers

Why is the main method declared static?  April 10, 2013 at 4:53 PM
Hi, Why is the main method declared static? thanks ... View Questions/Answers

What is the return type of the main method?  April 10, 2013 at 4:52 PM
hi, What is the return type of the main method? thanks ... View Questions/Answers

Should a main method be compulsorily declared in all java classes?  April 10, 2013 at 4:52 PM
hi, Should a main method be compulsorily declared in all java classes? thanks ... View Questions/Answers

How to define a constant variable in Java?  April 10, 2013 at 4:51 PM
Hi, How to define a constant variable in Java? thanks ... View Questions/Answers

What are instance variables?  April 10, 2013 at 4:50 PM
Hi, What are instance variables? thanks ... View Questions/Answers

What are local variables?  April 10, 2013 at 4:50 PM
hi, What are local variables? thanks ... View Questions/Answers

What is difference between Path and Classpath?  April 10, 2013 at 4:49 PM
hi What is difference between Path and Classpath? thanks ... View Questions/Answers

Are arrays primitive data types?  April 10, 2013 at 4:48 PM
Hi, Are arrays primitive data types? thanks ... View Questions/Answers

Is Java a pure object oriented language?  April 10, 2013 at 4:48 PM
Hi, Is Java a pure object oriented language? thanks ... View Questions/Answers

Does Java support multiple inheritance?  April 10, 2013 at 4:47 PM
Hi, Does Java support multiple inheritance? thanks ... View Questions/Answers

What is the base class of all classes?  April 10, 2013 at 3:54 PM
Hi, What is the base class of all classes? thanks ... View Questions/Answers

Solve my code  April 10, 2013 at 3:54 PM
import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.io.*; public class ChangeDetails extends HttpServlet{ public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOExcepti... View Questions/Answers

What is a pointer and does Java support pointers?  April 10, 2013 at 3:44 PM
Hi, What is a pointer and does Java support pointers? Thanks ... View Questions/Answers

What is the difference between a JDK and a JVM?  April 10, 2013 at 3:33 PM
Hi, What is the difference between a JDK and a JVM? Thanks, ... View Questions/Answers

Are JVM's platform independent?  April 10, 2013 at 1:17 PM
Hi, Are JVM's platform independent? ... View Questions/Answers

What do you mean by platform independence?  April 10, 2013 at 1:06 PM
Hi, What do you mean by platform independence? Thanks ... View Questions/Answers

What is most important features of Java  April 10, 2013 at 12:58 PM
Hi, What is the most important features of Java? Thanks ... View Questions/Answers

sms/mail alert for dynamic web application  April 10, 2013 at 1:58 AM
hi friends, how can i integrate sms/mail alert with my dynamic web application created using servlet? can anyone give me any idea for this related coding ... View Questions/Answers

Adding button to each row for the table and adding row to another table  April 9, 2013 at 8:01 PM
Hi I need to add button to each line in the table(Table data is retrived form database) and need to add that column data which we click in the specified row of the table ... View Questions/Answers

Can I have multiple main() methods in the same class?  April 9, 2013 at 3:20 PM
Hi, Can I have multiple main() methods in the same class? ... View Questions/Answers

how to convert image file to text file?  April 9, 2013 at 2:53 PM
hi, can anybody tell how to convert image file to text file? plz help me. ... View Questions/Answers

What is the first argument of the String array in main() method?  April 9, 2013 at 2:44 PM
Hi, What is the first argument of the String array in main() method? Thanks, ... View Questions/Answers

What happen when we write static public void instead of public static void?  April 9, 2013 at 1:29 PM
Hi, What happen when we write static public void instead of public static void? Thanks ... View Questions/Answers

What if the main() method is declared as private?  April 9, 2013 at 1:05 PM
Hi, What if the main() method is declared as private? Thanks ... View Questions/Answers

What is final class?  April 9, 2013 at 12:46 PM
Hi, What is final class? thanks ... View Questions/Answers

What is an Iterator?  April 9, 2013 at 12:14 PM
Hi, What is an Iterator? Please help me. Thanks ... View Questions/Answers

How to Explain different way of using thread?  April 9, 2013 at 11:47 AM
Hi, How to explain how to using different thread in Java program........ ... View Questions/Answers

How to Explain different way of using thread?  April 9, 2013 at 11:46 AM
Hi, How to explain how to using different thread in Java program........ ... View Questions/Answers

Describe synchronization in respect to multithreading.  April 9, 2013 at 11:37 AM
Hi, Describe synchronization in respect to multithreading. thanks, ... View Questions/Answers

What is the purpose of garbage collection in Java, and when is it used?  April 9, 2013 at 11:25 AM
Hi, What is the purpose of garbage collection in Java, and when is it used? ... View Questions/Answers

What is the difference between a constructor and a method?  April 9, 2013 at 11:20 AM
Hi, What is the difference between a constructor and a method? ... View Questions/Answers

servlet filters  April 8, 2013 at 7:01 PM
Hi Any body please tell me how to work with servlet filters and can u post smple application to search webpage based on input values? ... View Questions/Answers

nour  April 8, 2013 at 4:35 PM
write a java program to five students have three different constructor each student two mark and object Array. please answer... ... View Questions/Answers

convert excel into pdf  April 8, 2013 at 2:39 PM
How to convert excel into pdf files?... View Questions/Answers

TYBsc IT final project (MOBILE BASED SMS SEARCH ENGIN)  April 8, 2013 at 12:11 PM
How to send and receive a msg from jsp servlet program to mobile phone using gsm vodafone modem? Pls give me fast reply becoz my porject(TYBsc IT)final has not been completed. so i requested to you pls answer my question. My project name is MOBILE BASED SMS SEARCH ENGIN. ... View Questions/Answers

uploading of image showing exception when size increases.  April 8, 2013 at 12:07 PM
Hi . I have a project in which the user can upload images. it works properly, but when the image size increases to arnd 1 MB or more it shows exception. I am using tomcat as my server. Plz help ... ... View Questions/Answers

help me  April 8, 2013 at 10:36 AM
pls... xplain dis code:- function go() { window.location.replace("logout.jsp",'window','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); self.close() } ... View Questions/Answers

tech. interview  April 8, 2013 at 3:01 AM
java support round robin algo. if yes why? and if no why? ... View Questions/Answers

update a particular of mysql table using servlet  April 8, 2013 at 1:16 AM
how to update a particular column for the entire table by taking requests from html form and update the particular column with out affecting other attribute values in the tuple ... View Questions/Answers

What is the equivalent method in Java which is equivalent to clrscr() in c/c++ . The code should help to clear the output screen ?  April 7, 2013 at 10:43 PM
Hello to all, I have searched the net to know that is there any equivalent method for clrscr() which is used in c/c++. In some sites i found using the Runtime.xxxx.xxx(command here); But this doesn't worked for me, Can any one help to find answer... Thanks to every... View Questions/Answers

How to Unlock Excel Password  April 7, 2013 at 6:19 PM
anyone help me how to recover lost Excel file password .............. ... View Questions/Answers

servlet question  April 7, 2013 at 5:31 PM
I have a jsp page m_box.jsp in SchoolProject/Student/ folder. now from here we click a button and go to servlet which is at com.edao package but it always go SchoolProject/Student/Inbox where Inbox is servlet name. ... View Questions/Answers

assignment  April 6, 2013 at 8:26 PM
Write a Java program that reads a file and prints the amount of palindromes contained within the file. ... View Questions/Answers

how to write file from FileInputStream  April 6, 2013 at 3:54 PM
Hi, How to Write a file from FileInputStream. Please feel free to suggest or any reference website. Thanks, ... View Questions/Answers

how to write to file from string in Java  April 6, 2013 at 3:49 PM
Hi, Please any one help me for how to write to file from string in Java. I am beginner in Java programming. Thanks, ... View Questions/Answers

how to write to file at the end of the line  April 6, 2013 at 3:37 PM
Hi, Where do i learn how to write to file at the end of the line using Java program. Plz suggest references. Thanks, ... View Questions/Answers

How to write file from inputstream in java  April 6, 2013 at 3:30 PM
Hi, how to write file from inputstream in java program. Plz suggest an example or suggested link for this. Thanks, ... View Questions/Answers

how to add a file in GZIP  April 6, 2013 at 3:26 PM
Hi, how to add a file in GZIP using Java. ... View Questions/Answers

loop statements  April 6, 2013 at 3:14 PM
write a program that reads from input an interger n and prints the factorial of all numbers between 1 and n ... View Questions/Answers

DMCA.com