Thank you Very Much. My problem is now solved.
Type: Posts; User: arunjib
Thank you Very Much. My problem is now solved.
I am feeling shy now!
I changed my code as follows... but its incorrect. please help me
public void display()
{
if(this.validate()) // using the this keyword.
{
...
Sorry! i cannot apply the tecnique in my program. please help me
i have made my code as follows... now the question is how can i display time as 12 hour format?
public void display()
{
// if(hh>12)
// hh=hh-12;
// Time ob = new...
Thank you for pointing out the problems. I would be more greatful if you make the necessary correction on my codes as I am very new in Java programs.
Thank you very much for helping me. now i have only one problem on my program. If i enter time >23, it should display "Invalid Format". but its is showing the time subtracting 12.
Here is the final...
Please help me, I cannot find the error in the following code. Boolean always returs true in the following program.
class time
{
int hh, mm, ss;
public time()
{
hh = 0;...