Click here to Skip to main content
15,563,053 members
Home / Discussions / Java
   

Java

 
AnswerRe: Is there any Java library to invoke SQL queries on SQL Server? Thanks Azbilegt Chuluunbat Pin
Richard MacCutchan20-Dec-20 7:09
mveRichard MacCutchan20-Dec-20 7:09 
QuestionProgramación orientada a objetos en Java Pin
Member 1501835311-Dec-20 3:07
Member 1501835311-Dec-20 3:07 
AnswerRe: Programación orientada a objetos en Java Pin
OriginalGriff11-Dec-20 3:08
mvaOriginalGriff11-Dec-20 3:08 
QuestionMy First Java Pin
Nano Tape5-Dec-20 15:58
Nano Tape5-Dec-20 15:58 
AnswerRe: My First Java Pin
Richard MacCutchan5-Dec-20 22:31
mveRichard MacCutchan5-Dec-20 22:31 
QuestionDefault Sudoko grid conversion from 9*9 to all grid size Pin
payugaka3-Dec-20 18:22
payugaka3-Dec-20 18:22 
AnswerRe: Default Sudoko grid conversion from 9*9 to all grid size Pin
Richard MacCutchan3-Dec-20 23:55
mveRichard MacCutchan3-Dec-20 23:55 
QuestionI'm a beginner and I'm only a month into Java. I struggle with a massive subject, is this a usual thing for begginers? It took me a long time to only understand this code. Pin
Denys Lysenko22-Nov-20 5:09
Denys Lysenko22-Nov-20 5:09 
package Array;
import java.util.Arrays;
public class Homework {
    public static int [] sortirovka (int [] array) {
        int a;
        for (int i = 0; i < array.length; i++) {
            int min = array [i];
            int index = i;
        for (int j = i + 1; j < array.length; j++) {
            if (array [j] < min) {
                min = array [j];
                index = j;
            }
        }
        
        if (i != index) {
            a = array[i];
            array[i]= min;
            array [index] = a;
        }
        
    }
    
    return array; 
  
    
}
    public static void main(String[] args) {
        int [] array = {5, 2, 5, 3, 8, 9, 10, -2, 0, 6};
        sortirovka (array);
        for (int i = 0; i < array.length; i++) {
            System.out.println(array[i]);
        }

AnswerRe: I'm a beginner and I'm only a month into Java. I struggle with a massive subject, is this a usual thing for begginers? It took me a long time to only understand this code. Pin
Richard MacCutchan22-Nov-20 5:32
mveRichard MacCutchan22-Nov-20 5:32 
GeneralRe: I'm a beginner and I'm only a month into Java. I struggle with a massive subject, is this a usual thing for begginers? It took me a long time to only understand this code. Pin
Denys Lysenko23-Nov-20 23:38
Denys Lysenko23-Nov-20 23:38 
GeneralRe: I'm a beginner and I'm only a month into Java. I struggle with a massive subject, is this a usual thing for begginers? It took me a long time to only understand this code. Pin
Richard MacCutchan23-Nov-20 23:47
mveRichard MacCutchan23-Nov-20 23:47 
Questionplease help Pin
Member 1499400615-Nov-20 23:33
Member 1499400615-Nov-20 23:33 
AnswerRe: please help Pin
Richard Deeming16-Nov-20 1:22
mveRichard Deeming16-Nov-20 1:22 
AnswerRe: please help Pin
Richard MacCutchan16-Nov-20 1:44
mveRichard MacCutchan16-Nov-20 1:44 
Questionjava applet wach Pin
Member 1499400615-Nov-20 23:31
Member 1499400615-Nov-20 23:31 
AnswerRe: java applet wach Pin
OriginalGriff15-Nov-20 23:32
mvaOriginalGriff15-Nov-20 23:32 
QuestionNeed A Project To Show Employers? Ideas? Pin
CoderBryGuy4-Nov-20 8:13
CoderBryGuy4-Nov-20 8:13 
AnswerRe: Need A Project To Show Employers? Ideas? Pin
Richard MacCutchan4-Nov-20 22:41
mveRichard MacCutchan4-Nov-20 22:41 
GeneralRe: Need A Project To Show Employers? Ideas? Pin
Gerry Schmitz5-Nov-20 3:56
mveGerry Schmitz5-Nov-20 3:56 
GeneralRe: Need A Project To Show Employers? Ideas? Pin
Richard MacCutchan5-Nov-20 4:27
mveRichard MacCutchan5-Nov-20 4:27 
QuestionRealm EJB in Wildfly Pin
Andy_Bell31-Oct-20 1:55
Andy_Bell31-Oct-20 1:55 
AnswerRe: Realm EJB in Wildfly Pin
Richard MacCutchan31-Oct-20 2:07
mveRichard MacCutchan31-Oct-20 2:07 
GeneralRe: Realm EJB in Wildfly Pin
Andy_Bell31-Oct-20 10:01
Andy_Bell31-Oct-20 10:01 
GeneralRe: Realm EJB in Wildfly Pin
Andy_Bell12-Nov-20 0:46
Andy_Bell12-Nov-20 0:46 
Questionanyone know how a program would be written out for this Pin
Member 1497788728-Oct-20 10:53
Member 1497788728-Oct-20 10:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.