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...
Type: Posts; User: nine05
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...
Thanks aussiemcgr...
import java.util.Scanner;
class Login {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
String user, pass;...
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...
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
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 = └...
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 &&...