Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: pattern

  1. #1
    Member
    Join Date
    Feb 2014
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default pattern

    [

    package javaapplication38;
    public class JavaApplication38{
    public static void main(String[] args) {
    int i,j;
    for(i=1;i<=5;i++)
    {
    if (i>=2)
    {
    System.out.println();
    }
    for(j=1;j<=i;j++)
    {

    System.out.print(i);
    }
    }
    }
    }




    ]/[
    1
    22
    333
    4444
    55555BUILD SUCCESSFUL (total time: 0 seconds)





    ]

    --- Update ---

    okay now not problem na like this only i need to post na wenever i get error in any kind of code then


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: pattern

    I'm not sure of the point of this post. Was it practice? I think you're making progress in your other thread on the same topic, so I'm closing this one. Continue to work the problem in the other thread.

    Also, please learn to post code in code tags.

Similar Threads

  1. Pattern class
    By nhiap6 in forum Java Theory & Questions
    Replies: 3
    Last Post: January 14th, 2013, 08:43 AM
  2. NEED HELP with singeton pattern
    By keomut93 in forum Object Oriented Programming
    Replies: 0
    Last Post: October 13th, 2012, 10:26 PM
  3. letter pattern
    By severus1 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 4th, 2011, 01:24 PM
  4. Regular Expression pattern - complex pattern syntax
    By SmartAndy in forum Algorithms & Recursion
    Replies: 3
    Last Post: June 7th, 2011, 04:40 AM
  5. How to Use an Observer Pattern
    By copeg in forum Java Programming Tutorials
    Replies: 0
    Last Post: February 9th, 2011, 10:24 PM

Tags for this Thread