Search:

Type: Posts; User: arunjib

Page 1 of 2 1 2

Search: Search took 0.21 seconds.

  1. Thread: need logic

    by arunjib
    Replies
    3
    Views
    410

    need logic

    I need logic for the following program. please help me

    Question :
    Accept 2 strings and check how many times the second string is in the first string.

    Example1:

    Enter main string : This is...
  2. Replies
    8
    Views
    448

    Re: help to find the error of coding

    Very useful suggestion. thnx
  3. Replies
    8
    Views
    448

    Re: help to find the error of coding

    Though i can understand the error, i cannot solve. if anybody solve it, i would be helpfull.
  4. Replies
    8
    Views
    448

    Re: help to find the error of coding

    i can understand why the output comming like this. but i am unable to solve the problem. please help me
  5. Replies
    8
    Views
    448

    Re: help to find the error of coding

    i can understand why the output comming like this. but i am unable to solve the problem. please help me
  6. Replies
    8
    Views
    448

    help to find the error of coding

    i cannot find out the error in output
    Input : arunjib
    required output : ArunjiB
    output getting : ABarunjib
    please help me



    public class caps
    {
  7. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    Thank you Very Much. My problem is now solved.
  8. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    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.
    {
    ...
  9. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    Sorry! i cannot apply the tecnique in my program. please help me
  10. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    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...
  11. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    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.
  12. Replies
    18
    Views
    1,209

    Re: What's Wrong With My Code?

    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...
  13. Replies
    18
    Views
    1,209

    What's Wrong With My Code?

    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;...
  14. Thread: date format

    by arunjib
    Replies
    4
    Views
    755

    Re: date format

    public class date
    {
    public static void main(String args[]) throws Exception
    {

    try{
    SimpleDateFormat form = new SimpleDateFormat("dd/MM/yyyy");
    Date date = form.parse("31/11/2009");...
  15. Thread: date format

    by arunjib
    Replies
    4
    Views
    755

    Re: date format

    sorry sir i cannot impliment the above code in my class please help me



    public class date
    {
    public static void main(String args[]) throws Exception
    {

    try{
  16. Thread: date format

    by arunjib
    Replies
    4
    Views
    755

    date format

    i want to input a date in dd/mm/yyyy format and validate it. please help me
    [eg. inputed ate is 12/31/2011... it is not a valid datein the above format.]
  17. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    thanks.......................
  18. Replies
    4
    Views
    5,575

    Re: Pattern printing in Java

    is there any help from anybody?
  19. Replies
    4
    Views
    5,575

    Pattern printing in Java

    i want to get following out for a java program... how i should start my study?


    output of the program:

    How many stars you want to print in 1st row ? 7

    *******
    ******
    *****
  20. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    Thank you sir for your kind co-operation and giving proper guide. I i get permission i want to start another problem here. Can I?
  21. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    Thank you sir,
    I was really depressed on the problem. Atlast i could solve my problem with help of my teacher. Thank you once more for your support. I hope i shall try to read and understand your...
  22. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    Do you know A, B, C, D .... Z ? Can you remember how first time you learnt alphabet ? Was you thinking or reading reapedly ? No ! you just taken help from your teacher (or mom or dad). So as i cannot...
  23. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    sir i want to print spaces using for loop. but i am unable to do that. as i am not strong on nested for loop. may i get a complete help from this site/thread without thinking more? if so i shall be...
  24. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    I have made a code to print the pattern as

    *****
    ****
    ***

    as follows


    import java.io.*;
  25. Thread: Help Neeed

    by arunjib
    Replies
    19
    Views
    732

    Re: Help Neeed

    Thank u sir. i am sorry for doing that. now my question is posted in this thread. this thread is created by me. hope i shall get this problem solved through this forum.
    regards
    arunjib
Results 1 to 25 of 29
Page 1 of 2 1 2