User Profile

Collapse

Profile Sidebar

Collapse
mahammadseeraz
mahammadseeraz
Last Activity: Aug 3 '07, 11:26 AM
Joined: Jul 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mahammadseeraz
    replied to How to calculate time in java
    in Java
    1. declare a long type variable --> long lng;
    2. assign it to time --> lng=System.curr entTimeMillis() ;
    --> System.out.prin tln(lng);


    import java.util.*;

    class time
    {
    public static void main (String[] arg){
    long lng;
    lng=System.curr entTimeMillis() ;
    System.out.prin tln(lng);
    ...
    See more | Go to post

    Leave a comment:


  • mahammadseeraz
    replied to Coding Help
    in Java
    can U send me those codings....
    See more | Go to post

    Leave a comment:


  • mahammadseeraz
    replied to I/O Exception Java Error
    in Java
    U might have these problems
    1. didn't throw IOException
    2. Import IO package....
    See more | Go to post

    Leave a comment:


  • mahammadseeraz
    replied to add two integers
    in Java
    check this code

    Integer a = 42, b = 42;
    Integer c = 3, d = 3;
    System.out.prin tln( a == 42);
    System.out.prin tln( a == b );
    System.out.prin tln( c == 3 );
    System.out.prin tln( c == d );...
    See more | Go to post

    Leave a comment:


  • mahammadseeraz
    replied to Circle Calculator
    in Java
    Hi

    After looking ur code I found these errors

    1. U have defined radious, area, circumference diameter as integer but it should be float type .
    2. last if condition u provvide && it should be || .
    3 . U are assigning in if statement U have to give "== "sign in steade of "="...
    See more | Go to post

    Leave a comment:


  • mahammadseeraz
    replied to java
    in Java
    A class implements the Cloneable interface to indicate to the Object.clone() method that it is legal for that method to make a field-for-field copy of instances of that class.

    Attempts to clone instances that do not implement the Cloneable interface result in the exception CloneNotSupport edException being thrown....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...