Results 1 to 2 of 2
  1. #1
    noobplus's Avatar
    noobplus is offline Senior Member
    Join Date
    Feb 2012
    Location
    chennai,south of India(south east of asia)
    Posts
    232
    Rep Power
    3

    Default thanks to all the forum members to help me for my project (really soz for being late)

    .. due to my exams..
    plz run this thankgiving java codings (plz paste the full string)
    Java Code:
    public class thxgiving {
    
    	public static void main(String[] args)
    	{
    		String a=new String("0J0o00sA0H1000N00o0r0m01T0o00l0l0s01D0a0r0r0y0l0B0ur0k0e010Fu0b0a0r0a0b0l0e1p00br0o0k0w0ay291b0l0o0o0d0y0s0or0r0y00f000o00r00l00e0a0000v00000i000n0000g00o0u00t0a00n0y0of0y0o0ur00nam00e0s"); 
    		String b=new String("01");
    		for(int i=0;i<a.length();i=i+1)
    		{
    			//System.out.println(a.charAt(i+1)+"\n");
    			if(a.charAt(i)==b.charAt(1))
    				System.out.println();
    			else if(a.charAt(i)==b.charAt(0))
    			    System.out.print("");
    			else
    				System.out.print(a.charAt(i));
    			
    		}
    	}
    }
    regards
    dhilip

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Hello All Java Forum Members
    By ultimaterinks2006 in forum Introductions
    Replies: 1
    Last Post: 02-22-2011, 01:31 PM
  2. Switching Careers to Java? It's never to late, is it?
    By /-ICEpik in forum Jobs Discussion
    Replies: 10
    Last Post: 12-30-2008, 05:03 PM
  3. Hello to all the members of this forum
    By Jevy in forum Introductions
    Replies: 0
    Last Post: 10-11-2008, 01:20 AM
  4. sun gives rewards to persisting forum members?
    By willemjav in forum Java Applets
    Replies: 1
    Last Post: 03-27-2008, 05:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •