Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Ami patel  February 26, 2011 at 12:32 PM
Create a midlet which accept name from user and save game score, timing with user name a store into the text file. (File Protocol) ... View Questions/Answers

Write a Java applet to draw cylinder and pentagon shapes.  February 26, 2011 at 11:45 AM
Write a Java applet to draw cylinder and pentagon shapes. ... View Questions/Answers

Applet  February 26, 2011 at 11:45 AM
Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red. ... View Questions/Answers

Advertisement

List the names of classes used to create button and text box in Java.  February 26, 2011 at 11:44 AM
List the names of classes used to create button and text box in Java. ... View Questions/Answers

delegation event model  February 26, 2011 at 11:43 AM
What is delegation event model? ... View Questions/Answers

Explain the parameters of Font class constructor.  February 26, 2011 at 11:42 AM
Explain the parameters of Font class constructor. ... View Questions/Answers

Thread  February 26, 2011 at 11:42 AM
Explain the use of throw and throws keywords. ... View Questions/Answers

exception handling  February 26, 2011 at 11:41 AM
Give the exception hierarchy of Java. ... View Questions/Answers

Applet  February 26, 2011 at 11:40 AM
Write a ava applet that sets blue color foreground and yellow color background at the start of an applet. ... View Questions/Answers

Applet  February 26, 2011 at 11:40 AM
Explain the start() and stop() methods of applet life cycle. ... View Questions/Answers

Applet  February 26, 2011 at 11:40 AM
Give the class hierarchy of an Applet class. ... View Questions/Answers

Fill in the blanks.  February 26, 2011 at 11:39 AM
Fill in the blanks. 1 ___operator is used to crate an array. 2 ___method can be called without the instance of a class. 3 When an interface method is... View Questions/Answers

Java program  February 26, 2011 at 11:38 AM
Write a Java program that demonstaress multiple inheritance. ... View Questions/Answers

interface.  February 26, 2011 at 11:38 AM
Write short note on interface. ... View Questions/Answers

wrapper class.  February 26, 2011 at 11:37 AM
Write short note on character wrapper class. ... View Questions/Answers

JAva program  February 26, 2011 at 11:37 AM
Write a JAva program that takes various string from command line and display them in sorted order. ... View Questions/Answers

Explain final class, abstract class and super class.  February 26, 2011 at 11:37 AM
Explain final class, abstract class and super class. ... View Questions/Answers

Java program  February 26, 2011 at 11:36 AM
Write a Java program that tales filename or directo;ry name from command line. If it is a vlid flename then it should display its size.If it is a valid directory name then it shouls disply the count of numer of files in that directory. ... View Questions/Answers

Java progrm  February 26, 2011 at 11:35 AM
Write a Java progrm that copies one text file to another, converting every lower case character to upper case equivalent. Names of surces file and destination file should be passed from command line. ... View Questions/Answers

custom exception  February 26, 2011 at 11:35 AM
Explain the process of creating custom exception and handling it. ... View Questions/Answers

exception handling mechanism  February 26, 2011 at 11:34 AM
Explain Java's exception handling mechanism in detail. ... View Questions/Answers

Java.io package  February 26, 2011 at 11:33 AM
List the names of various classes supported by Java.io package to handle character stream. ... View Questions/Answers

Random Access File class  February 26, 2011 at 11:33 AM
Write a short note on Random Access File class. ... View Questions/Answers

ava program  February 26, 2011 at 11:32 AM
Explain the process of deleating and renaming a file in a Java program with the help of suitable example. ... View Questions/Answers

various types of comments  February 26, 2011 at 11:31 AM
Explain various types of comments supported by Java. ... View Questions/Answers

Java program  February 26, 2011 at 11:30 AM
Write a Java program that takes 3 integer numbers from command line and display maximum number. (Use conditional operator) ... View Questions/Answers

ciruit operators.  February 26, 2011 at 11:29 AM
Explain the benefit of short ciruit operators. ... View Questions/Answers

bytecode and JVM.  February 26, 2011 at 11:28 AM
Explain the terms bytecode and JVM. ... View Questions/Answers

feature of Java.  February 26, 2011 at 11:28 AM
Explain any two feature of Java. ... View Questions/Answers

javascript validation  February 26, 2011 at 11:27 AM
validation of comparing dropdownlist and textbox in javascript ... View Questions/Answers

bitwise operators  February 26, 2011 at 11:27 AM
Write short note on bitwise operators of Java. ... View Questions/Answers

java programs  February 26, 2011 at 11:26 AM
Explain types of Java programs. Also explain how to compile and run them. ... View Questions/Answers

data types  February 26, 2011 at 11:25 AM
Write a short note on data types of Java. ... View Questions/Answers

Threrad  February 26, 2011 at 11:24 AM
Write a Java program to create two theads. First thread should print the string at the interval of 300 ms. Second thread should print the string at the interval of 700 ms. String to be printed should be passed as constructor argument. Thread should be created using Runnable interface. ... View Questions/Answers

Thread  February 26, 2011 at 11:23 AM
Write a Java program to create three theads. Each thread should produce the sum of 1 to 10, 11 to 20 and 21to 30 respectively. Main thread should wait for all the threads to be completed and it should be display final sum. ... View Questions/Answers

Explain various access modifiers and their visibility.  February 26, 2011 at 11:23 AM
Explain various access modifiers and their visibility. ... View Questions/Answers

upload and save the file  February 26, 2011 at 11:14 AM
upload and save a file from a computer to specific location of remote computer using jsp ... View Questions/Answers

how to compile programs??????????  February 26, 2011 at 10:35 AM
"javac" is not recognised as a file name. why?????????? ... View Questions/Answers

javascript validation  February 26, 2011 at 10:22 AM
i have 4 buttons in my project like save,find,modify,clear and exit. Here my problem is i have to validate in javascript like if i click on save button an alert message should be displayed "DO YOU WANT TO ADD MORE DETAILS" if yes means go to dropdownlist and if no means go to save button.. please... View Questions/Answers

How to Convert PDF into rtf File Java  February 26, 2011 at 10:10 AM
Hi, How could in covert the PDF file to rtf file in Java Programming. Please suggest any online example for references. Thanks, ... View Questions/Answers

How to convert Arraylist into String Array Java  February 26, 2011 at 9:59 AM
Hi, I am beginners of Java programming. Can somebody Suggest me how to convert arraylist to string array in Java. Please suggest any online example. Thanks ... View Questions/Answers

datatypes queries  February 26, 2011 at 9:23 AM
Respected sir ,what is the reason behind that java compiler gives me an error when float datatype isused to store float value?why we prefered double datatype for this? ... View Questions/Answers

vector question  February 26, 2011 at 12:19 AM
how does vector works? ... View Questions/Answers

Login coding for gettin friends details  February 25, 2011 at 10:28 PM
login codin in servlet? ... View Questions/Answers

Khushi  February 25, 2011 at 10:21 PM
i want help im developing one project in that 2table one is customer order and other is goods..so in which when i enterd a type of goods in jsp form its id i.e. goods id which is present in goods table,so question is how to store that id in customer order table ... View Questions/Answers

actionservlet initialization  February 25, 2011 at 10:08 PM
who will intialize actionservlet in struts? ... View Questions/Answers

problem in creating create .ipa file in my iPhone app  February 25, 2011 at 9:46 PM
Hi, does anyone have idea on how to create a .create .ipa file for my iPhone / iPad application? Also do i need to delete the previous build to create .ipa file? Thanks! ... View Questions/Answers

How to change HTML button onclick to autoclick - javascript function  February 25, 2011 at 9:42 PM
Can any one give me a block of code to change the HTML button onclick to autoclick. The method must be in Java Javascript. ... View Questions/Answers

How to change HTML button onclick to autoclick - javascript function  February 25, 2011 at 9:42 PM
Can any one give me a block of code to change the HTML button onclick to autoclick. The method must be in Java Javascript. ... View Questions/Answers

HTML Button onclick get ID of Button  February 25, 2011 at 9:38 PM
How i can get the ID of HTML Button on click?? I wanted to do it using JavaScript function. Thanks !! ... View Questions/Answers

Converting NSURL to NSString creating a problem  February 25, 2011 at 9:01 PM
Hi , In my iPad/iPhone universal application, we are trying to covert theNSURL to NSString which cause the application crash. Does any one have idea about converting NSURL to NSString?? Thanks! ... View Questions/Answers

Converting NSURL to NSString creating a problem  February 25, 2011 at 9:01 PM
Hi , In my iPad/iPhone universal application, we are trying to covert theNSURL to NSString which cause the application crash. Does any one have idea about converting NSURL to NSString?? Thanks! ... View Questions/Answers

Caching UIWebView  February 25, 2011 at 8:55 PM
Is it possible to save the downloaded file in caching? Actually, in my iPhone application i am trying to load a pdf file on UIWebView that is loading perfectly but my problem is .. it's taking a lots of time to load. Is it possible to caching the loaded file in UIWebView. And if y... View Questions/Answers

Caching UIWebView  February 25, 2011 at 8:55 PM
Is it possible to save the downloaded file in caching? Actually, in my iPhone application i am trying to load a pdf file on UIWebView that is loading perfectly but my problem is .. it's taking a lots of time to load. Is it possible to caching the loaded file in UIWebView. And if y... View Questions/Answers

UITableView Array  February 25, 2011 at 8:45 PM
Somehow, in my iPhone application.. i am not able to add an array in UITableview. Can anyone please explain about the possible reason. In my application i am loading the list of array in "number of row in section" method as given below.. - (NSInteger)tableV... View Questions/Answers

Setting a Background image for UITableView in iPhone & iPad application.  February 25, 2011 at 8:40 PM
in my iPhone application i am using a simple UITableView to show the listing. But the it looks very simple.. (white color). Though i can change the UITableView using set backgroundcolor. But my requirement is bit different ..i wanted to make it more stylish. And only solution for it is to add an... View Questions/Answers

java  February 25, 2011 at 7:15 PM
what are the annotation calss? explain how many types of class are there like this? ... View Questions/Answers

struts  February 25, 2011 at 7:13 PM
what are the 4 methods of struts framework? ... View Questions/Answers

sir, how to read empty cell in excel file using poi and how to add this empty cell to arraay list and the following is my code  February 25, 2011 at 7:00 PM
//here my file nameis sample.xls and this file contain some blanks cells how to read and how to print this blank cell as blank in console public ArrayList readCSV(File fileName) { ArrayList cellVectorHolder = new ArrayList(); try{ ... View Questions/Answers

arrays  February 25, 2011 at 5:40 PM
public class Country{ string countryName; string location; int population; double area; } a.write a java statement to create an array of 10 country objects called mycountry using the Country class. b.Assuming that the getter and setter methods are already defined in the Countr... View Questions/Answers

J2ME programming  February 25, 2011 at 5:30 PM
Hi, J2ME programming - How to learn J2ME Programming very fast? Thank You ... View Questions/Answers

sessions management  February 25, 2011 at 5:25 PM
I have a problem with the session management of my applcation deployed in tomcat. in fact, my application allows only one session to a login / password given. I then add in the database a flag for each user (isConnected). if the user logs on I set my flag to 1, if he logs off I se... View Questions/Answers

How to print pattern in Java?  February 25, 2011 at 5:21 PM
How to print a particular pattern in Java? ... View Questions/Answers

array  February 25, 2011 at 4:16 PM
array memory allocation is dynamic or static in java ... View Questions/Answers

Description  February 25, 2011 at 2:39 PM
public class PatternExample{ public static void main(String[] args){ int i,j,n=5; for(i=0;i<=n;i++) { System.out.println(); for(j=1;j<=n-i;j++) System.out.print(j); for(j=0;j<2*i;j++) System.out.print(" "); for(j=n-i;j>0;j--) System.out.print(j); } } } OUTPUT IS... View Questions/Answers

Description  February 25, 2011 at 2:39 PM
public class PatternExample{ public static void main(String[] args){ int i,j,n=5; for(i=0;i<=n;i++) { System.out.println(); for(j=1;j<=n-i;j++) System.out.print(j); for(j=0;j<2*i;j++) System.out.print(" "); for(j=n-i;j>0;j--) System.out.print(j); } } } OUTPUT IS... View Questions/Answers

Description  February 25, 2011 at 2:39 PM
public class PatternExample{ public static void main(String[] args){ int i,j,n=5; for(i=0;i<=n;i++) { System.out.println(); for(j=1;j<=n-i;j++) System.out.print(j); for(j=0;j<2*i;j++) System.out.print(" "); for(j=n-i;j>0;j--) System.out.print(j); } } } OUTPUT IS... View Questions/Answers

Description  February 25, 2011 at 2:39 PM
public class PatternExample{ public static void main(String[] args){ int i,j,n=5; for(i=0;i<=n;i++) { System.out.println(); for(j=1;j<=n-i;j++) System.out.print(j); for(j=0;j<2*i;j++) System.out.print(" "); for(j=n-i;j>0;j--) System.out.print(j); } } } OUTPUT IS... View Questions/Answers

hibenrate  February 25, 2011 at 2:32 PM
disadvantage of the hibernate ... View Questions/Answers

java  February 25, 2011 at 2:29 PM
how to invoke jar files in the java application in netbeans IDE ... View Questions/Answers

Getting content of alert message into textfield  February 25, 2011 at 2:14 PM
how to get content of alert message into textfield using javascript ... View Questions/Answers

Getting content of alert message into textfield  February 25, 2011 at 2:11 PM
how to get content of alert message into textfield using javascript ... View Questions/Answers

different type input in java  February 25, 2011 at 1:27 PM
hiiiii... get input different different type like as DataInputStream,Scanner i want to get source code of these all type of input method. thank ... View Questions/Answers

select Query result display problem  February 25, 2011 at 12:49 PM
Hi, String SQL_QUERY ="from Cc"; Query query = session.createQuery(SQL_QUERY); for(Iterator it=query.iterate();it.hasNext();){ Object[] row = (Object[]) it.next(); System.out.println("ID: " + row[0]); System.out.println("Name: " + row[1]); } ... View Questions/Answers

html program  February 25, 2011 at 12:44 PM
Create a set of checkboxes with the below text: Which company do you work in? Infosys TCS Wipro Microsoft Google None of these If √Ę‚?¨Ň?None of these√Ę‚?¨¬? is selected with any other, show a error message √Ę‚?¨Ň?Invalid selection√Ę‚?¨¬?. ... View Questions/Answers

java  February 25, 2011 at 12:27 PM
sstatic methode rply de........ ... View Questions/Answers

java  February 25, 2011 at 12:19 PM
reply in static method ... View Questions/Answers

dob validation  February 25, 2011 at 12:02 PM
hi i am entering date, month and year in corresponding three drop down list. how to validate the date.....? ... View Questions/Answers

select query using hibernate  February 25, 2011 at 11:59 AM
Hi, can any one tell me to select records from table using hibernate. Thanks ... View Questions/Answers

how to run this program?  February 25, 2011 at 11:42 AM
how to run java swing program ... View Questions/Answers

Hibernate  February 25, 2011 at 11:35 AM
hibernate delete query execution ... View Questions/Answers

java  February 25, 2011 at 10:40 AM
Write a program ‚??checkHighestArmstrong‚?? to find the highest Armstrong number in a given array of integers. If there is no Armstrong number in the input array, then return 0. Armstrong numbers are those numbers whose sum of their own digits to the power of the number of digits is equal to the... View Questions/Answers

iphone sdk-objective c  February 25, 2011 at 10:32 AM
how to delete random value which is got from the random function in an array ... View Questions/Answers

How to Hide Button using Java Swing  February 25, 2011 at 10:31 AM
Hi, I just begin to learn java programming. How to hide the button in Java programming. Please anyone suggest or provide online example reference. Regards, ... View Questions/Answers

php  February 25, 2011 at 10:25 AM
i want to know about php and php plateform required software to make php program and database that used in php program? ... View Questions/Answers

php  February 25, 2011 at 10:25 AM
i want to know about php and php plateform required software to make php program and database that used in php program? ... View Questions/Answers

How to read the .doc/ .docx file in Java Program  February 25, 2011 at 10:23 AM
Hi, I am beginner in Java programming language. Can anybody explain How to read .doc file in Java language. Please provide any online reference so that i try it. Regards, ... View Questions/Answers

java  February 25, 2011 at 10:21 AM
Write a program ‚??checkHighestArmstrong‚?? to find the highest Armstrong number in a given array of integers. If there is no Armstrong number in the input array, then return 0. Armstrong numbers are those numbers whose sum of their own digits to the power of the number of digits is equal to the... View Questions/Answers

PHP Array Sort in Reverse Order  February 25, 2011 at 10:15 AM
Hi, I have just started learning php programming language. How could i develop an application which provide the PHP Array Sort in Reverse Order. Please suggest any online reference or example related to this topic so that i will try. Regards, ... View Questions/Answers

How to create new arraylist using Java  February 25, 2011 at 10:08 AM
hi, I want to develop an small application where i trying to create new arraylist inside the arraylist. Can someone provides online example how to create new arraylist in java programming. thnaks, ... View Questions/Answers

insert data into database  February 25, 2011 at 10:06 AM
hi,thanks for reply just i am doing student information project,frontend is jsp-servlet and backend is msaccess2007. i prepared one page like these details studentname,group,address,marksdetails and studentmaster is the database table name. i am using same details. Now give the da... View Questions/Answers

determine the top 10 highest and 10 lowest in java  February 25, 2011 at 9:54 AM
hello, I have a case, where there are tables in the database and have a file borrowing that contains the codebooks and namesmembers. I want to make 10 the highest rank anyone who borrows a book and who the 10 smallest borrow book... View Questions/Answers

Java Barcode Program with Oracle database  February 25, 2011 at 9:19 AM
Hi Everyone, I need help to develop my new project, am going to do with barcode s/w, am very new to this ...Please help me out... Once the barcode is scanned i need to load the part no and serial no of the item being scanned to Oracle 10g database. I dont have any idea abt this...Please c... View Questions/Answers

java pattern code for a given words  February 25, 2011 at 7:18 AM
java pattern code for a given words pattern ... View Questions/Answers

How can combine threads and buttons?  February 25, 2011 at 1:32 AM
I would like to start an application, stop it and restart it again and stop etc. I tried the following code. It does start and stop, but I get an error when I try to restart. Any suggestions? /* * To change this template, choose Tools | Template... View Questions/Answers

Browser making by java coding  February 24, 2011 at 11:51 PM
import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; public class Browser extends JFrame implements HyperlinkListener,ActionListener { public static void main(String args[]) { ... View Questions/Answers

Java inheritance  February 24, 2011 at 11:43 PM
can the child access protected content of the parent if the child is in a different project ... View Questions/Answers

servlets  February 24, 2011 at 11:42 PM
How to open and read the contents of a text file in servlets? ... View Questions/Answers

Servlet  February 24, 2011 at 11:40 PM
Can a user defined function be included in a servlet? I need information regarding servlet syntax and not JSP. ... View Questions/Answers

UIWebview load url  February 24, 2011 at 11:27 PM
How to load website url in UIWebview? Tell me code for UIWebview load url of a website Thanks ... View Questions/Answers

DMCA.com