Close
Login to Your Account
Faadooengineers




Results 1 to 13 of 13

Thread: Java Programs for All Engineering First year

  1. #1
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Java Programs for All Engineering First year

    Basic Java programs


    Attached Files for Direct Download
      File Name:
      File Size:
      1.6 KB
      File Name:
      File Size:
      1.8 KB
      File Name:
      File Size:
      1.6 KB
      File Name:
      File Size:
      1.2 KB
      File Name:
      File Size:
      704 Bytes
      File Name:
      File Size:
      1.2 KB
      File Name:
      File Size:
      1.1 KB
      File Name:
      File Size:
      1.9 KB
      File Name:
      File Size:
      1.0 KB
      File Name:
      File Size:
      1.0 KB
      File Name:
      File Size:
      1,010 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  2. #2
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    These show the use of Data types
    Attached Files for Direct Download
      File Name:
      File Size:
      982 Bytes
      File Name:
      File Size:
      1.1 KB
      File Name:
      File Size:
      896 Bytes
      File Name:
      File Size:
      732 Bytes
      File Name:
      File Size:
      745 Bytes
      File Name:
      File Size:
      888 Bytes
      File Name:
      File Size:
      772 Bytes
      File Name:
      File Size:
      826 Bytes
      File Name:
      File Size:
      577 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  3. #3
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    Static func,static member,do while, while and Keyword final
    Attached Files for Direct Download
      File Name:
      File Size:
      639 Bytes
      File Name:
      File Size:
      1.3 KB
      File Name:
      File Size:
      720 Bytes
      File Name:
      File Size:
      851 Bytes
      File Name:
      File Size:
      890 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  4. #4
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    Java Programs using FOR loop
    Attached Files for Direct Download
      File Name:
      File Size:
      1.5 KB
      File Name:
      File Size:
      878 Bytes
      File Name:
      File Size:
      873 Bytes
      File Name:
      File Size:
      1.5 KB
      File Name:
      File Size:
      915 Bytes
      File Name:
      File Size:
      909 Bytes
      File Name:
      File Size:
      1.2 KB
      File Name:
      File Size:
      2.0 KB
      File Name:
      File Size:
      1.7 KB
      File Name:
      File Size:
      770 Bytes
      File Name:
      File Size:
      553 Bytes
      File Name:
      File Size:
      441 Bytes
      File Name:
      File Size:
      1.1 KB
      File Name:
      File Size:
      769 Bytes
      File Name:
      File Size:
      1.3 KB
      File Name:
      File Size:
      993 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  5. #5
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    programs using If Else statement
    Attached Files for Direct Download
      File Name:
      File Size:
      675 Bytes
      File Name:
      File Size:
      730 Bytes
      File Name:
      File Size:
      759 Bytes
      File Name:
      File Size:
      981 Bytes
      File Name:
      File Size:
      772 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  6. #6
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    Guys feel free to request the programs you want me to put and plz do it the like button if the post helped you
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  7. #7
    Fuchcha FaaDoO Engineer
    Join Date
    Dec 2012
    Posts
    3

    Gender: : Male

    Branch: : Some other branch

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    I want code for all pyramids to display it in opp. alignment

  8. #8
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Sushan is this what you need??

    /*
    Java Pyramid 1 Example
    This Java Pyramid example shows how to generate pyramid or triangle like
    given below using for loop.

    *
    **
    ***
    ****
    *****
    */

    public class JavaPyramid1 {

    public static void main(String[] args) {

    for(int i=1; i<= 5 ;i++)
    {
    for(int k=4; k<0; k--){
    System.out.print(" ");
    }

    for(int j=0; j < i; j++){
    System.out.print("*");
    }

    //generate a new line
    System.out.println("");
    }
    }
    }

    /*
    Output of the above program would be
    *
    **
    ***
    ****
    *****
    */
    Attached Files for Direct Download
      File Name:
      File Size:
      1.0 KB
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  9. #9
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    The Preview pyramid isn't shown proper ly may be bcoz of error in forum
    *
    **
    ***
    ****
    *****
    This is the possible output please notify me if there is any error
    Last edited by reshance; 13th December 2012 at 06:05 PM.
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  10. #10
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    /*
    Java Pyramid 2 Example
    This Java Pyramid example shows how to generate pyramid or triangle like
    given below using for loop.

    *****
    ****
    ***
    **
    *
    */

    public class JavaPyramid2 {

    public static void main(String[] args) {

    for(int i=5; i>0 ;i--){

    for(int k=0; k<=5; k++){
    System.out.print(" ");
    }

    for(int j=0; j < i; j++){
    System.out.print("*");
    }

    //generate a new line
    System.out.println("");
    }
    }
    }

    /*

    Output of the example would be
    *****
    ****
    ***
    **
    *

    */
    Attached Files for Direct Download
      File Name:
      File Size:
      1,018 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  11. #11
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    /* Java Pyramid 3 Example This Java Pyramid example shows how to generate pyramid or triangle like given below using for loop. * ** *** **** ***** ***** **** *** ** * */ public class JavaPyramid3 { public static void main(String[] args) { for(int i=1; i
    Attached Files for Direct Download
      File Name:
      File Size:
      1.6 KB
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  12. #12
    Sr. FaaDoO Engineer reshance's Avatar
    Join Date
    Sep 2012
    Posts
    113

    Gender: : Male

    Branch: : Civil Engineering

    City : Mumbai

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    corrected file ????
    Attached Files for Direct Download
      File Name:
      File Size:
      967 Bytes
    * Click on the 'file icon' or 'file name' to start downloading
    IF YOU LIKE MY POST OR FIND IT INTERESTING CLICK ON LIKE thank you


  13. #13
    Fuchcha FaaDoO Engineer
    Join Date
    Apr 2012
    Posts
    8

    Gender: : Male

    Branch: : Computer Science Engineering

    City : Gurgaon

    Send Private Message
    Send Friend Request

    Re: Java Programs for All Engineering First year

    please make a single file ......for easy downloading

Tags for this Thread