python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why am I getting an blank character at the end of an element when randomly selecting an element from a word list
I have to hard code my selectedWord to avoid the blank character
Future<String> getData() async {
try {
return await rootBundle.loadString('text_file/four_words.txt');
} catch (e) ...

Golden Lion
Votes: 0
Answers: 1
How to Sort Objects from ArrayList
Background information: I have a text file of books filled with their respected information (ex: title, publisher, pageCount). I have successfully created an inheritance hierarchy with all the correct...

user14410420
Votes: 0
Answers: 1
I don't understand LocalDate#compareTo() Java method return value
I'm trying to get skilled on dates using them with Java and the LocalDate class, there's something I don't understand about the compareTo method return value, though.
I thought that the nextDate.compa...
Phoenix
Votes: 0
Answers: 1
Java Collections-the number of words without repetition
I wan to create a method for which we give text(String) as an input argument.
The method will return the number of words without repetition.
For example: "cat, dog, Cat, Bird, monkey"
return...

Sylwia
Votes: 0
Answers: 2