Search:

Type: Posts; User: madushankakurera

Search: Search took 0.31 seconds.

  1. Re: How to Type cast convert double to integer

    public a() {
    }
    public static void main(String args[]){
    double d = 5.5;
    int i = (int)(d);
    System.out.println(i);
    }
    }
  2. Re: How to Format a double value to 2 decimal places

    public void GetTwoDecimal(){

    double d = 2.34568;
    DecimalFormat f = new DecimalFormat("##.00"); // this will helps you to always keeps in two decimal places
    ...
  3. Re: Moving MySql Database from one machine to another machine

    Hi Vaishaly,
    Simply you go to Mysql administrater window. Then click on Backup. It will ask for project name. After giving project name you will can add backup to a file. then when you want to...
  4. Replies
    6
    Views
    2,274

    star design programs with only- for loops

    class Star{


    public static void main (String args[]){


    for(int i=0;i<5;++i){
    for(int j=5;j>i;--j){
    System.out.print(" ");
  5. Replies
    6
    Views
    2,274

    Re: star design programs

    class Star{

    }
Results 1 to 5 of 5