Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

this and super  October 25, 2010 at 11:11 AM
hello,, why are this() and super() used ? ... View Questions/Answers

finally block  October 25, 2010 at 11:08 AM
hii, If I am writing return at the end of the try block and some code in finally block, then the finally block will execute?? ... View Questions/Answers

JSP  October 25, 2010 at 11:02 AM
What is JSP? ... View Questions/Answers

Advertisement

try and finally block  October 25, 2010 at 11:02 AM
hello, If I write System.exit (0); at the end of the try block, will the finally block still execute? ... View Questions/Answers

Serialization  October 25, 2010 at 10:57 AM
hello What is serialization? ... View Questions/Answers

main method  October 25, 2010 at 10:53 AM
hello, Can I make multiple main methods in the same class? If no then what will happen in compilation time? ... View Questions/Answers

Please clarify my doubt  October 25, 2010 at 10:52 AM
/here is my sample code for deadlock/ class A { synchronized void foo(B b) { String name = Thread.currentThread().getName(); System.out.println(name + "entered A.foo()"); /*try { //Thread.sleep(1000); } catch(Int... View Questions/Answers

Final Keyword  October 25, 2010 at 10:46 AM
hello, What is final? ... View Questions/Answers

Interface and Abstract class  October 25, 2010 at 10:40 AM
hello,, Can some body tell me what is the difference between an Interface and an Abstract class? ... View Questions/Answers

DisplayWeek  October 25, 2010 at 10:38 AM
write a program to display the name of the day of week for a given number of the day of week.The week starts with day 1 as Sunday and ends with day 7 as Saturday ... View Questions/Answers

DisplayWeek  October 25, 2010 at 10:38 AM
write a program to display the name of the day of week for a given number of the day of week.The week starts with day 1 as Sunday and ends with day 7 as Saturday ... View Questions/Answers

Agile methods  October 25, 2010 at 10:33 AM
Why use Agile methods? ... View Questions/Answers

regarding the pdf table using itext  October 25, 2010 at 10:17 AM
if table exceeds the maximum width of the page how to manage it ... View Questions/Answers

Make A website  October 25, 2010 at 4:25 AM
How expensive(hire someone) or hard would it be to create a website like this? I want to build a website where people can be users of the website with a small profile. Their is a point system (kinda like money) where people can upload documents for other to use (to gain points) or download docume... View Questions/Answers

Changing Executable Jar File Icon  October 24, 2010 at 8:51 PM
I have created an executable jar file for my java program and the icon that appears is the java icon. I will like to know if there is a way to change this to any icon of my choice. ... View Questions/Answers

Use javascript loops..  October 24, 2010 at 7:18 PM
Write a JavaScript code to find a number of unique letters in string. (Eg. if keyword is Tajmahal, Tajmahal count will be '5' , it only takes these letters T,j,m,h,l , not taken the letter a because it is repeated) , means it doesn't count the repeated letters. ... View Questions/Answers

program in array  October 24, 2010 at 4:14 PM
print("code sample");write a program that initializes an array with ten random integers and then prints four lines of output,containing:every element at an even index,every even element,all elements in reverse order,and only the first and last element. ... View Questions/Answers

program of array  October 24, 2010 at 4:01 PM
write a program that initializes an array with ten random integers and then prints four lines of output,containing:every element at an even index,every even element,all elements in reverse order,and only the first and last element. ... View Questions/Answers

Array  October 24, 2010 at 3:55 PM
Hi, Here is my code: public class Helloworld { public static void main (String [] args) { System.out.println("Hello,World"); } } Thanks. ... View Questions/Answers

Java Bean Properties  October 24, 2010 at 1:12 PM
What are the properties of a normal java Bean(Not EJB) ... View Questions/Answers

heap and stack in general programming language  October 24, 2010 at 1:10 PM
what's the difference between heap and stack ? ... View Questions/Answers

Use javascript loops..  October 24, 2010 at 11:01 AM
Write a Javascript code to create a redirection script based on day of the week. ... View Questions/Answers

Setting File Attributes  October 24, 2010 at 12:42 AM
I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you ... View Questions/Answers

Setting File Attributes  October 24, 2010 at 12:42 AM
I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you ... View Questions/Answers

Setting File Attributes  October 24, 2010 at 12:42 AM
I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you ... View Questions/Answers

Setting File Attributes  October 24, 2010 at 12:42 AM
I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you ... View Questions/Answers

KEY EVENT HANDLING  October 24, 2010 at 12:23 AM
I am trying to write a program that receives every key stroke even when the window is not active or it's minimized. Is there anyway to do this ... View Questions/Answers

jdbc warning regarding to ms access  October 23, 2010 at 10:33 PM
shows warning msg while compiling using ms access : warning: sun.jdbc.odbc.JdbcOdbcDriver is Sun proprietary API and may be removed in future release. here is my code import java.sql.*; class AccessData { public static void main(String args[])throws Exception { DriverM... View Questions/Answers

Class and object  October 23, 2010 at 7:57 PM
what is exact meaning for the statement, A a1=new B(); ... View Questions/Answers

begineer  October 23, 2010 at 6:05 PM
ALL program are written in java!!! Q.1.write a program which have 4 integer value is int a=2;int b=4;intc=5;intd=6; and its check all four integer number that which have maximum value and which have smaller.?? Q.2.write a program in whch class have two integer value and their val... View Questions/Answers

configure mail sever  October 23, 2010 at 5:11 PM
ok James is a best server for javamail but how to configure and run program if you have any program pls send me at upendra.softengg@gmail.com ... View Questions/Answers

java  October 23, 2010 at 3:38 PM
what makes static nested class different from a Non Static one ... View Questions/Answers

begineer  October 23, 2010 at 2:42 PM
Q.1.write a program which have 4 integer hard value and its check all four integer number that which have maximum value and which have smaller.?? Q.2.write a program in whch class have two integer value which is hard coted and have 6 method . first method .done a sum of both value and ret... View Questions/Answers

software making  October 23, 2010 at 2:07 PM
hello sir , sir you post me answer its difficult to make software in c and c++. but sir i want to make software in c and c++.sir i regueast you please you guid me. i hope you will help me make software in in c and c++. regards:- baljit singh ... View Questions/Answers

Event in flex  October 23, 2010 at 1:18 PM
Hi..... can you tell me about that How do you make component participate in event mechanism? Thanks ... View Questions/Answers

py  October 23, 2010 at 11:19 AM
how to write a method to a named pythagoras. ... View Questions/Answers

py  October 23, 2010 at 11:19 AM
how to write a method to a named pythagoras. ... View Questions/Answers

pythogoras  October 23, 2010 at 11:16 AM
how to write a method named pythogoras(). It sholud have two parameteres,x and y, of type double. It should compute and return as its value. ... View Questions/Answers

display:table export only data  October 23, 2010 at 11:08 AM
I am using display:table tag with attribute export="true". Using that I can export table data in excel. Here one of the column is in hyper link. But i need to export only data not html tag . Can any one help this ? Thanks in advance. ... View Questions/Answers

Floyd's triangle  October 23, 2010 at 10:56 AM
Write a 'for' statment that will print Floyd's traingle. ... View Questions/Answers

illegal start of type  October 23, 2010 at 10:50 AM
Hello! I'm very new to writing java. And I keep getting the "Illegal Start of Type" error. I've tried everything to fix it. can anyone help me? import java.awt.Dimens import java.awt.*; import javax.swing.*; import java.util.List; import java.util.LinkedList; import java.util.Iterator; im... View Questions/Answers

java leap year  October 23, 2010 at 10:48 AM
write a java program that takes an input as a keyboard inputs or command line argument, a year between 1800 and 2000 and then reports whether itis a leap year. Aleap year is an integer greater than 1584 that is either divisible by 400 or is divisible by 4 but not 100 ... View Questions/Answers

how to find the given date is sunday  October 23, 2010 at 10:42 AM
how to find the given date is sunday in java? ... View Questions/Answers

Illegal Start of Type  October 23, 2010 at 10:41 AM
Hello! I'm very new to writing java. And I keep getting the "Illegal Start of Type" error. I've tried everything to fix it. can anyone help me? import java.awt.Dimens; import java.awt.*; import javax.swing.*; import java.util.List; import java.util.LinkedList; import java.util.Iterator; i... View Questions/Answers

Use javascript loops..  October 23, 2010 at 10:31 AM
Write a Javascript code, so that numbers appear in following format, 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 for n=5. Input 'n' value from user. ... View Questions/Answers

Sync Threads  October 23, 2010 at 9:23 AM
"If two threads wants to execute a synchronized method in a class, and both threads are using the same instance of the class to invoke the method then only one thread can execute the method at a time." This is what i read in roseindia for sync thread can anyone give an perfect example for this??<... View Questions/Answers

Synchronization on threads  October 23, 2010 at 9:11 AM
what is the difference between synchronized method and block?? ... View Questions/Answers

java que  October 23, 2010 at 8:43 AM
print tringle like this A A B A B C A B C D ... View Questions/Answers

numbers divisible by 5 and 6  October 23, 2010 at 8:18 AM
Find the first ten numbers which are greater than Long.MAX_VALUE divisible by 5 and 6. ... View Questions/Answers

java  October 22, 2010 at 11:29 PM
how to add two child threads in multi thread in java ... View Questions/Answers

menuItem and actionPerformed  October 22, 2010 at 7:42 PM
i tried to do notepad application. but in that,when i clicks CUT menuItem of EDIT menu,i wanna get the MENU label("edit") inside the actionPerformed.how could i get it ... View Questions/Answers

hibernate  October 22, 2010 at 6:53 PM
how to impot mysql database client jar file into eclipse for hibernate configuration ... View Questions/Answers

Week calculate start from friday  October 22, 2010 at 5:41 PM
My problem is to calculate how many weeks have a month. Note that my weeks have to start on Friday! I have three combo boxes. First display year. Second one display month. Third one display number of weeks for the selected month. example: if i select year in 2010 month in May. 1s... View Questions/Answers

javax.obex.ClientSession.get()  October 22, 2010 at 5:36 PM
following code for reading server file using bluetooth package phone; /*original imports */ import java.io.*; import java.util.*; import javax.microedition.io.*; /* switch of J2se netbeans dev kit */ import javax.bluetooth.*; // import javax.obex.*; /* add the de.aventna obex */ ... View Questions/Answers

alter data type  October 22, 2010 at 4:14 PM
alter data type of subName column for subject table to varchar(40) ... View Questions/Answers

Browser issue  October 22, 2010 at 4:14 PM
how can i close popup windows in mozilla browser and return back to the parent page. ... View Questions/Answers

jdbc  October 22, 2010 at 4:10 PM
I compiling my jdbcodbc progrm. D:\Java\jdk1.6.0\bin>javac JdbcExample.java JdbcExample.java:12: cannot find symbol symbol : method ClassforName(java.lang.String) location: class JDBCExample ClassforName("sun.jdbc.odbc.JdbcOdbcDriver"); ^ I got this error.can any one tell me,why this error? ... View Questions/Answers

How to calculate number of weeks in a specified month  October 22, 2010 at 2:51 PM
I am create one program that contain three combo box. 1.cmbyear 2.cmbmonth 3.cmbweek i am select year and month. then automatically calculate number of weeks in a specified month for the year. for example if i choose year in 2008 and month in october then display number of weeks i... View Questions/Answers

how to create text file from jsp and provide downlode option  October 22, 2010 at 2:16 PM
HI Deepak , thanks for your post u really doing great work for people who is new in java/j2ee tech. my question is who do i make a jsp output in the form of text file so that pepole can downlode that text file or may be some other file formate this my jsp page <... View Questions/Answers

J2ME connectivity to ms access  October 22, 2010 at 1:36 PM
How to establish client server connectivity to access ms access database on the server side? I have made the odbc connection. Plz help me in the coding part.. Dont know how to start. ... View Questions/Answers

CAMERA APPLICATION J@ME  October 22, 2010 at 1:05 PM
i had written the code to capture image in j2me it is running well on emulator but not running on nokia 6303 if anyone knows please help me at maheshwari1986ashish@gmail.com ... View Questions/Answers

Display JSP selected listbox and checkbox in xml-please help me  October 22, 2010 at 12:46 PM
Hi, I have three Listbox on my jsp page. I want to do following: ByDefault first list will be filled by database (stored in mysql), When User select something from 1st list box second will fill accordingly by database using jsp. When user select something from 2nd ... View Questions/Answers

configure mail sever  October 22, 2010 at 12:14 PM
which is the best server for java mail? ... View Questions/Answers

How to access Contacts from gmail using LDAP in JSP dropdown list  October 22, 2010 at 11:47 AM
HI, I am creating a JSP page in which i have to make a dropdown box, and access gmail contacts in that drop downlist using LDAP. Can any one plz help me out...... PLEASE reply.... Thanks a lot for the people who help me previously...... ... View Questions/Answers

marked interface  October 22, 2010 at 11:22 AM
how jvm work with marked interface?(that means how it will know its behaviour with out any methods) ... View Questions/Answers

Importing hibernate project  October 22, 2010 at 11:12 AM
What are the steps to import hibernate project in myeclipse? ... View Questions/Answers

need ENUM examples  October 22, 2010 at 10:59 AM
i need enum sample examples ... View Questions/Answers

need ENUM examples  October 22, 2010 at 10:59 AM
i need enum sample examples ... View Questions/Answers

need ENUM examples  October 22, 2010 at 10:59 AM
i need enum sample examples ... View Questions/Answers

need ENUM examples  October 22, 2010 at 10:59 AM
i need enum sample examples ... View Questions/Answers

Thread in java  October 22, 2010 at 10:24 AM
which method will defined in thread class ... View Questions/Answers

jdbc  October 22, 2010 at 10:20 AM
I already create the connection.Again it will show the same error. ... View Questions/Answers

Hibernate log4j  October 22, 2010 at 8:39 AM
Hi, when i run the FirstExample.java given in the tutorial, i got the right output, what my doubt is from where i am getting the log4j messages, like log4j:WARN no appenders could be found for logger (org.hibernate.cfg.Environment) Thanks in Advance. Raju Rudru. ... View Questions/Answers

mobile banking login program  October 22, 2010 at 12:14 AM
static Display dis; static Login destroy; public Login() { dis=Display .get Display(this); } public void startApp() { destroy=this; LoginScreen loginscreen= new LoginScreen(); dis.setCurrent(loginscreen.loginFormMethod()); } ... View Questions/Answers

prime numbers application  October 21, 2010 at 10:18 PM
how to add a comment indicating that the method will determine if a number is a prime number. In the next line add the method header for this method which will be called isPrime. This method returns the value of a type boolean and takes an argument of type int, the parameter will be named number.... View Questions/Answers

servlet  October 21, 2010 at 10:17 PM
how to read a file from different folder using filereader in servlet ... View Questions/Answers

Need help in java programming  October 21, 2010 at 8:50 PM
Hello. Can someone please help me with writig the following programm. Assignment 20% Presentation 10% Mini Test 10% Exam 60% Java program that accepts the following details: student ID number, full name and marks for the 4 assessments above as input. It should then determin... View Questions/Answers

Hibernate  October 21, 2010 at 7:29 PM
I downloaded the zip file given in the tutorial of Hibernate. I followed all th steps as given in the tutorial, but a build error is coming in all the java files, saying that the import org.hibernate.*; can not be resolved. How can i rectify that error? ... View Questions/Answers

Using Single Quote in Reciepient mail Id.  October 21, 2010 at 6:55 PM
Hi, Is it possible to send a mail to a Mail Account having singlequote (Ex: prasad'g@gmail.com) by using JAVA Mail API. Could you please give me the clarification....... ... View Questions/Answers

producer and concumer Interface program  October 21, 2010 at 6:40 PM
I need producer and concumer Interface program ... View Questions/Answers

How to read a line from a doc file  October 21, 2010 at 5:32 PM
How to read a line from a doc file ... View Questions/Answers

Java  October 21, 2010 at 5:23 PM
I compiling my jdbcodbc progrm. D:\Java\jdk1.6.0\bin>javac JdbcExample.java JdbcExample.java:12: cannot find symbol symbol : method ClassforName(java.lang.String) location: class JDBCExample ClassforName("sun.jdbc.odbc.JdbcOdbcDriver"); ^ I got this error.can any one tell me,why this error? ... View Questions/Answers

Caringorm in flex  October 21, 2010 at 5:20 PM
Hi.... What is caringorm ? please tell me about that Thanks ... View Questions/Answers

adding some value to new column  October 21, 2010 at 5:12 PM
how to update a column having some value into new column that also have some value i need to add this two value in java using result set we can get all the column data but how to add these value ... View Questions/Answers

java mail  October 21, 2010 at 5:09 PM
Hi deepak, sorry to trouble again but with reference to apache mail server (james) tutorial i use the link that u have provided it redirects to apache offical site what there 4 zip and taz files are available for downloading and i have downloaded those 4 but afer unzippi... View Questions/Answers

layoutChrome in flex  October 21, 2010 at 4:42 PM
Hi..... I want to know about What is layoutChrome ? Thanks ... View Questions/Answers

measure in flex  October 21, 2010 at 4:40 PM
Hi...... Please explain the following methods commitProperties, updateDisplayList, measure. Thanks ... View Questions/Answers

leave balance  October 21, 2010 at 4:40 PM
hi, <<<<<<<< i have a table called emp-leave_balanced(leave-id,leave balance,etc are column),in leave balance column each employee has some leave balance (like 4,5,8 etc)i need to add this leave-balance to another c... View Questions/Answers

Transparent NavgationBar on iPhone  October 21, 2010 at 4:36 PM
hello, how can we make NavgationBar Transparent ?? give some code?? ... View Questions/Answers

layoutChrome() in flex  October 21, 2010 at 4:31 PM
Hi...... What is layoutChrome()? When does it get called? Please tell me about that...... Thanks ... View Questions/Answers

IFlexDisplayObject in flex  October 21, 2010 at 4:27 PM
Hi....... Where do you normally use IFlexDisplayObject? Thanks ... View Questions/Answers

jsp drop down-- select Option  October 21, 2010 at 4:13 PM
how to get drop down populated dynamically ... View Questions/Answers

updating column automatically based on system date  October 21, 2010 at 4:12 PM
hi, can any one give solution for my question i have a table called leave balanced(leave-id,leave balance,etc are column),in leave balance column each employee has some leave balance (like 4,5,8 etc)i need to add this leave-balance to another colu... View Questions/Answers

Java Hello World code example  October 21, 2010 at 3:58 PM
Hi, Here is my code of Hello World program in Java: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } Thanks ... View Questions/Answers

Interfaces in flex  October 21, 2010 at 3:52 PM
Hi..... Please tell me about... What are - IStyleClient, IChildList, ILayoutManager, IToolTipManagerClient, IInvalidating, IValidatorListener, IFlexModule, IAutomationObject, IPropertyChangeNotifier, IRepeaterClient, ISimpleStyleClient, IStateClient, IConstraintClient ? Thanks... View Questions/Answers

Will iPhone Safari support Ajax?  October 21, 2010 at 3:35 PM
hello, I want to know that Safari support Ajax ??? ... View Questions/Answers

json  October 21, 2010 at 3:34 PM
how connect ajax with json ... View Questions/Answers

Graphics class in flex  October 21, 2010 at 3:29 PM
Hi.... What does clear() do in graphics class? please tell me about that.... Thanks ... View Questions/Answers

Movie clip in flex  October 21, 2010 at 3:11 PM
Hi... What is a MovieClip? IUIMovieClip? please give me an example. Thanks ... View Questions/Answers

software developer  October 21, 2010 at 3:09 PM
only disable login page back button in asp.net using c# ... View Questions/Answers

DMCA.com