Search:

Type: Posts; User: nine05

Search: Search took 0.16 seconds.

  1. Replies
    1
    Views
    584

    Need some tips...

    Hello guys,

    I just new to Java. I'm already in JDBC and i'm using MySQL. My question is what is the best way or practice when making a connection to a database. Do I need to make a new class or...
  2. Replies
    4
    Views
    553

    Re: What is wrong with my code???

    Thanks aussiemcgr...


    import java.util.Scanner;
    class Login {
    public static void main(String[] args){
    Scanner input = new Scanner(System.in);
    String user, pass;...
  3. Replies
    4
    Views
    553

    What is wrong with my code???

    I have problem with my if statement. Even I input user still it is going to else statement. Can some explain to whats is the problem with my code... Thanks...


    import java.util.Scanner;
    class...
  4. Replies
    6
    Views
    1,867

    Re: Bigger triangle made up of multiple ones?

    Hell,

    I'm just new in java. I tried to make what it is shown in the image. For the output make sure your font is monospaced so the height and width is the same... Thanks...

    ....edited
  5. Replies
    12
    Views
    1,241

    [SOLVED] Re: Help printing random dice

    Hello VanDarg,

    I'm new also in Java can you give me a sample output of your program I want to try this also and may this symbol below may help you:

    Alt + 218 = ┌
    Alt + 179 = │
    Alt + 192 = └...
  6. Replies
    8
    Views
    9,079

    Re: Display prime numbers from 100 to 200 in Java

    Here's my sample.

    public class PrimeNo {

    public static void main(String[] args) {

    for(int i=101;i<=199;i++)
    {
    if(i%2!=0 && i%3!=0 && i%5!=0 && i%7!=0 &&...
Results 1 to 6 of 6