Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

javaScript+Html  April 6, 2013 at 1:57 PM
print("code sample");(Use ExtJS 3 or 4) and create following (HTML, Javascript,ExtJS) a. Create a single page application divided into 4 sections - Top Header, Footer,Left Navigation (Tree), Center Panel (TabPanel) b. In Tree - Show three options - G... View Questions/Answers

javaScript  April 6, 2013 at 1:29 PM
How to open a browser window that cannot be resized? (HTML + Javascript); ... View Questions/Answers

How to save image after edit in php  April 6, 2013 at 1:19 PM
Hello, I have create a simple image editor with the effected of brightness, contrast, and desaturat etc. I have used for this pixastic functions from www.pixastic.com. function working successfully but i don't know how to replace orignal image with the effects. please give me answer for t... View Questions/Answers

java  April 6, 2013 at 12:43 PM
hi I want to fetch data from databse and then display it on the jsp page in a table after clicking on the button(radio button will b used to select the different conditions) After displaying it on the jsp page i want to use "paging" to view all the data from the database.Thank you Kindly... View Questions/Answers

javaScript  April 6, 2013 at 11:47 AM
. Print a table like below in JAVASCRIPT 5 x 1 = 5 5 x 2 = 10 √Ę‚?¨¬¶√Ę‚?¨¬¶√Ę‚?¨¬¶. 5 x 20 = 100 ... View Questions/Answers

Textpad  April 6, 2013 at 12:34 AM
How i'm getting the text in colors when java program is opened through the textpad ... View Questions/Answers

TextPad  April 6, 2013 at 12:32 AM
how can i getting the text in different colors when a java program is opend through the textpad ... View Questions/Answers

Browsing in java  April 5, 2013 at 8:40 PM
how to browse particular type of file in java (say).jpg using browse button ? ... View Questions/Answers

Joining tables using criteria  April 5, 2013 at 5:48 PM
How do i join more than three tables and retrieve one column from parent table and count of unique values in a single column from child table,the joined tables must be maintain primary key relationship.please give examples and describe. ... View Questions/Answers

Using criteria for multiple tables  April 5, 2013 at 3:32 PM
How to join more than three tables,those tables must be maintain primary key relation ship using Hql criteria & projections. ... View Questions/Answers

Using criteria for multiple tables  April 5, 2013 at 3:31 PM
How to join more than three tables,those tables must be maintain primary key relation ship using Hql criteria & projections. ... View Questions/Answers

CONVERT VALUE MONEY TO WORDS IN SQL?  April 5, 2013 at 8:25 AM
i want to covert money or varchar value (like 7500000 ) in words like (75 lacs) then how to convert this value in this words . please give me solution for this ... View Questions/Answers

What is the best way to write to file in Java?  April 4, 2013 at 6:58 PM
I am creating a program in Java which writes into a text file. What can be the be best method to write to a text file in Java? Since my program will continuously write the data into text file, So, I need the high performance Java program. Thanks ... View Questions/Answers

How to convert XML file to database ?  April 4, 2013 at 1:44 PM
How to convert XML file to database ? ... View Questions/Answers

converting an xml file in relational database objects  April 4, 2013 at 1:32 PM
converting an xml file in relational database objects ... View Questions/Answers

calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield.  April 4, 2013 at 11:01 AM
calculating time difference for manually entered in-time and out-time in hours and min for dynamically generated rows in jsp and display in third textfield. ... View Questions/Answers

SQLException:Column not found? (help me:(  April 4, 2013 at 7:54 AM
import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class Mini2 extends JFrame implements ActionListener { String userid="data",password="1234"; String url="jdbc:odbc:miniprojek"; Statement stmt; Connection con; JLa... View Questions/Answers

Java code help  April 4, 2013 at 3:07 AM
Write a java program that will ask the user to input any number from 5 to 9 and then print the following structure depending on the user input. E.g. If the user input is 5, then print the following structure 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ... View Questions/Answers

java servlet  April 3, 2013 at 6:49 PM
im using ubuntu 12.04 and ialready installed eclipse but i dont know how to run the servlet programs please give brief procedure to run the servlet program in eclipse......... ... View Questions/Answers

create the SQL tables from an XML schema  April 3, 2013 at 5:25 PM
I'm using Eclipse, Please let me know if anyone developped an application that would automatically create the SQL tables from an XML schema ... View Questions/Answers

linked list  April 3, 2013 at 4:25 PM
Data Structures An English institute has a different number of students register each semester. You are required to write a Java program to manage the registration details for the institute. 1. Use a linked list to manage the details of all registered students. a. Create your own linked l... View Questions/Answers

p  April 3, 2013 at 11:50 AM
what is meaning of 2)Applets run over the browser whearas servlets run over the server ... View Questions/Answers

java  April 3, 2013 at 11:41 AM
have a delete button in jsp page when clicked particular data on database has to change pls give code ... View Questions/Answers

Accessing Jqxgrid data in Controller layer using JSP  April 3, 2013 at 10:49 AM
I am using Keyboard Navigation jqxgrid. I am able to bind the grid by passing data from controller layer using JAVA. What i actually require is to fetch the data which is displaying in the jqxgrid, may be in some JSON format from JSP and to insert it into the database. On click of some button, th... View Questions/Answers

for php beginner  April 3, 2013 at 12:10 AM
write a program to find out a greatest number of n numbers using loop ... View Questions/Answers

How to capture output from console into textarea in java?  April 2, 2013 at 11:02 PM
Hi, I would like to know how can we display the result of a program in java into a textarea instead of displaying it on console. Thanks ... View Questions/Answers

DMCA.com