Search:

Type: Posts; User: smartshahezad

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    1,502

    Re: HQL Update

    edited..
  2. Replies
    2
    Views
    1,502

    HQL Update

    Hello guys.. I don't know if this is the right place to be asking this question, but i need to know what's wrong with my HQL Update statement.. I am using Eclipse IDE with jboss server and below is...
  3. [SOLVED] Why is my value coming out to be false ???

    List<String> list1 = new ArrayList <String> ();
    list1.add("One");
    list1.add("Two");

    Scanner input = new Scanner(System.in);
    System.out.print("Input the index value of the object...
  4. [SOLVED] Re: What's wrong with the PRINTF statement ?

    the java -version command in cmd say i have 1.8.0_05-b13

    --- Update ---



    and no i am not using the javac command.. my IDE is doing it for me..

    --- Update ---
  5. [SOLVED] Re: What's wrong with the PRINTF statement ?

    for the second statement :

    The method printf(Locale, String, Object[]) in the type PrintStream is not applicable for the arguments (String, String, String)


    and for the class Comparison, it...
  6. [SOLVED] What's wrong with the PRINTF statement ?

    Hello guys, i have been trying to play around with System.out.printf , but it says that the method is not applicable to the attributes.. i don't think i am doing anything wrong but i can't understand...
  7. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    THIS IS BRILLIANT.. thank you soooooooooooo much... now its working.. i am planning to add couple other things i learn in this program and keep updating this game i guess.. and yes i dont have the...
  8. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    sorry but can you give me an example please?? thank
  9. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    can you please tell me what's wrong with this ???





    public static void main(String[] args) {
    // TODO Auto-generated method stub

    System.out.println("Hello! Welcome to Dice Hi-Lo");
  10. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    i know i have to write a while loop.. but i dont know how to write it in my scenario.. i can write a basic while loop that prints maybe 10 numbers.. but i dont know how to implement it in my case.....
  11. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    this is what i want this program to do.. but repetitively.. i have managed to do it without it being repeated :P



    package com.peg.trn;

    import java.util.Scanner;

    public class HiLo {
  12. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    if i add more outputs in the winAmount() method, will it return more than one values ???
  13. Replies
    17
    Views
    3,979

    [SOLVED] Re: Hi Lo Dice Betting

    So i managed to figure out the methods in my class.. Now, i want to write the main method.. And i have no clue how and what to write there..

    Below is my code :




    package com.peg.hilodice;...
  14. Replies
    17
    Views
    3,979

    [SOLVED] Hi Lo Dice Betting

    Hello guys..

    I want to write a small Hi Lo Betting Dice program that satisfies these conditions :

    A player places a bet on whether the sum of two dice will come up High (totalling 8 or...
Results 1 to 14 of 14