tagged [java]

Assigning multiple inputs to multiple variables using Scanner

Assigning multiple inputs to multiple variables using Scanner What I am trying to do is have multiple inputs that all have different variables. Each variable will be part of different equations. I am ...

4 Oct at 16:4

How do I install Java on Mac OSX allowing version switching?

How do I install Java on Mac OSX allowing version switching? I want to install OpenJDK Java on Mac OSX and have it work alongside other JDK's since it is a newer release. Currently, I downloaded the t...

29 Sep at 20:52

Java Delegates?

Java Delegates? Does the Java language have delegate features, similar to how C# has support for delegates?

4 Sep at 22:45

JBoss debugging in Eclipse

JBoss debugging in Eclipse How do you configure JBoss to debug an application in Eclipse?

5 Feb at 14:55

Reading and displaying data from a .txt file

Reading and displaying data from a .txt file How do you read and display data from .txt files?

8 Apr at 21:21

File to byte[] in Java

File to byte[] in Java How do I convert a `java.io.File` to a `byte[]`?

27 Mar at 11:32

Difference between Equals/equals and == operator?

Difference between Equals/equals and == operator? What is the difference between `a == b` and `a.Equals(b)`?

7 Oct at 04:22

How to convert String object to Boolean Object?

How to convert String object to Boolean Object? How to convert `String` object to `Boolean` object?

26 Sep at 05:46

Get size of folder or file

Get size of folder or file How can I retrieve size of folder or file in Java?

6 Jun at 20:7

What is a daemon thread in Java?

What is a daemon thread in Java? Can anybody tell me what daemon threads are in Java?

26 Jul at 03:22

Difference between break and continue statement

Difference between break and continue statement Can anyone tell me the difference between `break` and `continue` statements?

10 Jul at 23:26

Multiline text in JLabel

Multiline text in JLabel How can I make the text of a JLabel extend onto another line?

8 Jan at 16:15

SSH library for Java

SSH library for Java Does anyone have an example of an SSH library connection using Java.

5 Feb at 15:24

Adding to the classpath on OSX

Adding to the classpath on OSX Can anyone tell me how to add to the classpath on OSX?

4 Nov at 18:32

Create a GUID in Java

Create a GUID in Java What are some of the best ways to create a GUID in Java?

18 Nov at 17:55

Linux command for extracting war file?

Linux command for extracting war file? How can I extract a `.war` file with Linux command prompt?

22 Apr at 21:21

Difference between getAttribute() and getParameter()

Difference between getAttribute() and getParameter() What is the difference between `getAttribute()` and `getParameter()` methods within `HttpServletRequest` class?

11 Jan at 20:5

Java - Change int to ascii

Java - Change int to ascii Is there a way for java to convert int's to ascii symbols?

16 Mar at 17:18

How to sort ArrayList<Long> in decreasing order?

How to sort ArrayList in decreasing order? How to sort an `ArrayList` in Java in decreasing order?

29 Oct at 15:27

Difference between Static and final?

Difference between Static and final? I'm always confused between `static` and `final` keywords in . How are they different ?

1 Aug at 13:56

Proper usage of Optional.ifPresent()

Proper usage of Optional.ifPresent() I am trying to understand the `ifPresent()` method of the `Optional` API in Java 8. I have simple logic: But this results in a compilation error: Of course I can d...

1 Feb at 05:28

How should I load files into my Java application?

How should I load files into my Java application? How should I load files into my Java application?

30 Jan at 07:11

Java System.currentTimeMillis() equivalent in C#

Java System.currentTimeMillis() equivalent in C# What is the equivalent of Java's `System.currentTimeMillis()` in C#?

14 Nov at 15:19

Disabling Log4J Output in Java

Disabling Log4J Output in Java How can one quickly turn off all output using a `log4j.properties` file?

14 Sep at 13:42

How to get the last value of an ArrayList

How to get the last value of an ArrayList How can I get the last value of an ArrayList?

25 Mar at 18:21