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: Hello friends, I'm in big trouble with this programme if anyone can help me out?

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Location
    india
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Hello friends, I'm in big trouble with this programme if anyone can help me out?

    Question # 779

    A phone is considered a good phone if all of the following conditions are satisfied:-

    The manufacturer must be one of Nokia, Samsung, Motorola, Sony or HTC.
    The model name of the phone must be a single word. For example, "Razr", "Omnia" or "N8" will count, but "C6 01", "EVO 3D" or "Xperia Arc S" won't.
    It must have either 'Android' or 'Windows' as its operating system.
    If the CPU is of type "ARMv11" then the cpu speed must be atleast 1024 MHz.
    If the CPU speed is less then 1024 MHz, then it must have a GPU and "Android" os only.
    There should be atleast 30 carriers selling this phone and "Vodafone" must be one of them.
    Write a method:

    boolean isGoodPhone(String model, String manufacturer, String os, int CPUSpeed, String CPUType, boolean hasGPU, String[] carriers)

    model Name of the phone model.
    manufacturer Name of the phone manufacturer.
    os Name of the operating system.
    CPUSpeed CPU speed in MHz.
    CPUType Type of the CPU.
    hasGPU Whether or not the phone has Graphics Processing Unit (GPU).
    carriers a string array representing list of carriers who sell this phone.


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Hello friends, I'm in big trouble with this programme if anyone can help me out?

    Duplicate posts on these forums are NOT permitted.
    Persistent violations will result in action from the moderators, so be warned.

    Do NOT post again in this thread, nor in this one.

    Instead, stick this this thread: http://www.javaprogrammingforums.com...lp-me-out.html
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

Similar Threads

  1. Replies: 2
    Last Post: September 28th, 2012, 08:19 AM
  2. Hello friends, I'm in big trouble with this programme if anyone can help me out?
    By rockworld777 in forum Loops & Control Statements
    Replies: 5
    Last Post: September 28th, 2012, 07:20 AM
  3. BlueJ trouble or program trouble (Combining Arraylists)
    By star12345645 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 11th, 2012, 12:15 PM
  4. help with bookfinder programme
    By kidza12 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 9th, 2011, 02:15 PM
  5. Simple Programme for Date
    By bhavinsparikh in forum Java Theory & Questions
    Replies: 1
    Last Post: August 28th, 2010, 07:24 AM