File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes please send me the answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "please send me the answer" Watch "please send me the answer" New topic

please send me the answer

praveen kumar tummala

Joined: Mar 03, 2006
Posts: 8
import java.util.*;
public class dateandtime extends Thread
long a;
public void run()
Date dt=new Date();
System.out.println("date and time is:"+dt);
catch(Exception e)
public static void main(String[] args)
dateandtime d=new dateandtime();

here time and date is coming in line by line

how to print the date and time in one line in command prompt with time is changing.....

and also

how to convert java to .exe in written reply in message

and also

how to break the infinite loop in editplus

please send me thank you
[ March 03, 2006: Message edited by: praveen kumar tummala ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
The principle of this forum is to help you find the solution to your own problems.
First attempt the problem yourself - explain where you are having difficulties in understanding and we will help you. You may post portions of your code here (between [C0DE][/C0DE] brackets) and any compiler messages you do not understand.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
You should also read - having to threads with the same subject, but totally different content in the same forum is very confusing.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: please send me the answer
It's not a secret anymore!