Search:

Type: Posts; User: veretimothy

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    6,110

    Algorithms Java

    Explains Algorithms with Beautiful Pictures Learn it Easy Better and Well

    Easy Learning Data Structures & Algorithms Java (2 Edition)

    This book is rich in examples, with beautiful pictures and...
  2. Re: DATA STRECTURES - SORTING - BUBBLE-INSERTION-SELECTION SORT IN JAVA

    Selective Sorting:

    Select the smallest unsorted element remaining in the array and insert it after it has been sorted
  3. Re: DATA STRECTURES - SORTING - BUBBLE-INSERTION-SELECTION SORT IN JAVA

    Insertion sort is a simple sorting algorithm suited for small data sets. During each iteration, the algorithm

    Removes an element from an array
    Compares it against the largest value in the array...
  4. Re: DATA STRECTURES - SORTING - BUBBLE-INSERTION-SELECTION SORT IN JAVA

    Bubble Sorting Algorithm:
    the first two elements are compared, if the previous element is larger than the latter element, the position is swapped. Repeat this process, until sorting is completed. ...
  5. Re: Understanding the mechanics of swapping variables for the quicksort algorithm

    Graphic Explanation Quick Sort Algorithm

    en.verejava.com/?id=19997472530244

    Divide the array into 2 subarrays, then call yourself recursively, sort the subarrays quickly, and continue to the...
  6. Replies
    3
    Views
    676

    Re: Is this Caesar cipher optimal? PVP

    String word = "Hello";
    word = word.toLowerCase();
    for (int i = 0; i < word.length(); i++) {
    char ch = word.charAt(i);
    if (ch == 'a' || ch == 'e' || ch ==...
  7. Re: JFRAME PARAMETERS NOT GETTING used in DISPLAY

    1. class name first letter uppercase
    2. remove private JFrame frm; becasue class myFrame extends JFrame



    package com.tool.util;

    import java.awt.Color;
    import java.awt.Dimension;
  8. Replies
    2
    Views
    686

    Re: Help for simple calculator code

    It works but need input 4 char + - * /, if less then 4 char throw Exception




    import java.util.Scanner;

    public class myCalculator {
    public static void main(String[] args) {
    ...
  9. Re: Tips for a beginner to start JAVA with.

    Need a lot of practice

    Recommend good learning book:

    Easy Learning HTML CSS Easy Learning Javascript

    en.verejava.com
  10. Replies
    17
    Views
    28,135

    Sticky: Re: The Problem with Spoon-feeding

    Thanks i see.
  11. Replies
    2
    Views
    648

    Re: What's wrong with this code

    change } while(e=="exit"); to } while (!"exit".equals(e));



    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    String word = null;
    ...
  12. Replies
    4
    Views
    668

    Re: Build is having extra unwanted line

    remove two line:

    System.out.println(combineStatements);

    and

    addStatements = major + course + instructor + restaurant + hangout;
  13. Replies
    4
    Views
    668

    Re: Build is having extra unwanted line

    package com.tool.util;

    import java.util.Scanner;

    public class MadLibrary {

    public static String major, course, instructor, restaurant, hangout, addStatements;
    public static Scanner...
  14. Replies
    3
    Views
    765

    Re: isDecreasing assignment help. URGENT

    public static boolean isDecreasing(int[] arrays){
    for (int i = 0; i < arrays.length - 1; i++) {
    for (int j = 0; j < arrays.length - 1; j++) {
    if (arrays[j] <...
  15. Replies
    1
    Views
    1,175

    Re: Issue With Methods Between Classes

    need call answerobj.populateStatementsArray(); first before output = answerobj.getRandomStatement();



    // ***** PROBLEM!! - For some reason when I get here, the console just prints "null" I...
  16. Replies
    9
    Views
    866

    [SOLVED] Re: Unable to use Same scanner twice

    you can use String token = in.nextLine(); replace nextInt and nextDouble
    and then int value=Integer.parseInt(token) and double value= Double.parseDouble(token)

    Here Example:
    ...
  17. Replies
    5
    Views
    1,017

    Re: HELP WITH MY JAVA GUI

    Please type you code in
    format it to easy to read.
  18. Replies
    19
    Views
    6,876

    Re: Why Java is better for web development ?

    Java has seen heavy use building enterprise applications, experienced developers to make use of. This means that Java can be used for a large variety of usecases, from small applications and single...
  19. Re: Whats the big-o notation (running time) of the following in java?

    <<Easy Learning Data Structures & Algorithms Java Practice >> good for you

    en.verejava.com



    package com.tool.util;

    import java.util.Arrays;
  20. Re: How do I write these two pyramids in Java?

    en.verejava.com/?id=19989480121243

    Pyramids



    1
    1 2
    1 2 3
    1 2 3 4
  21. Re: Hibernate Java Web application stops to give response on production environment

    Please try restart
  22. Replies
    2
    Views
    658

    Re: nested loop

    1+1:2
    2+1:3 2+2:4
    3+1:4 3+2:5 3+3:6
    4+1:5 4+2:6 4+3:7 4+4:8

    you can see
    en.verejava.com/?id=19961694923642

    en.verejava.com/?id=19961622874441
  23. Re: How to create a function that returns a new array containing duplicate values of another array?

    en.verejava.com/?id=19932689743040



    package com.tool.util;

    public class RemoveDuplicate {

    public static void main(String[] args) {
  24. Replies
    3
    Views
    630

    Re: Help me make a code

    Java Collection Map HashMap Hashtable



    Map map = new HashMap();
    map.put("grace", new User("Grace","111111"));
    map.put("renia", new User("Renia","222222"));
    map.put("david", new...
  25. Replies
    3
    Views
    667

    Re: Java text file read & write Code ....

    Java IO FileReader reads files as characters



    import java.io.*;
    public class TestFileReader {
    public static void main(String[] args) {
    Reader reader = null;
    try {
    ...
Results 1 to 25 of 25