Trending questions in Java

0 votes
0 answers

Unscramble Letters in Java - Get all possible combinations of the letters

I am currently an AP Computer Science ...READ MORE

Apr 13, 2022 in Java by Rahul
• 3,380 points
944 views
0 votes
0 answers

Comparing java.utilDate with LocalDate in java

I have a method wherein have to ...READ MORE

Apr 21, 2022 in Java by Rahul
• 3,380 points
575 views
0 votes
0 answers

How to split a string in Java

I have a string, "004-034556", that I want ...READ MORE

Apr 21, 2022 in Java by Rahul
• 3,380 points
569 views
0 votes
0 answers

How do you use the ? : (conditional) operator in JavaScript?

In simple words, what is the ?: ...READ MORE

Apr 26, 2022 in Java by Rahul
• 3,380 points
344 views
0 votes
0 answers

For-each over an array in JavaScript

How can I loop through all the ...READ MORE

Apr 19, 2022 in Java by Rahul
• 3,380 points
505 views
0 votes
0 answers

Reversing an Array in Java [duplicate]

If I have an array like this: 1 ...READ MORE

Apr 21, 2022 in Java by Rahul
• 3,380 points
407 views
0 votes
0 answers

Java inner class and static nested class

What is the main difference between an ...READ MORE

Apr 21, 2022 in Java by Rahul
• 3,380 points
381 views
0 votes
0 answers

What does "javascript:void(0)" mean?

<a href="javascript:void(0)" id="loginlink">login</a> I've seen such hrefs many ...READ MORE

Apr 14, 2022 in Java by Rahul
• 3,380 points
615 views
0 votes
0 answers

Simplest and understandable example of volatile keyword in Java

I'm reading about volatile keyword in Java and completely ...READ MORE

Apr 19, 2022 in Java by Rahul
• 3,380 points
373 views
0 votes
0 answers

How can I get bootstrap version via javascript?

Is there any way to get bootstrap ...READ MORE

Apr 13, 2022 in Java by Rahul
• 3,380 points
627 views
0 votes
0 answers

What is a JavaBean exactly?

I understood, I think, that a "Bean" ...READ MORE

Apr 19, 2022 in Java by Rahul
• 3,380 points
368 views
0 votes
0 answers

How does the Java 'for each' loop work?

Consider: List<String> someList = new ArrayList<String>(); // add "monkey", ...READ MORE

Apr 19, 2022 in Java by Rahul
• 3,380 points
367 views
0 votes
0 answers

Change date format in a Java string

I've a String representing a date. String date_s = "2011-01-18 ...READ MORE

Apr 14, 2022 in Java by Rahul
• 3,380 points
445 views
0 votes
0 answers

What is the !! (not not) operator in JavaScript?

I saw some code that seems to ...READ MORE

Apr 13, 2022 in Java by Rahul
• 3,380 points
448 views
0 votes
1 answer

What does [object Object] mean? (JavaScript)

To answer your question, what this means ...READ MORE

Feb 22, 2022 in Java by Aditya
• 7,680 points
2,524 views
0 votes
0 answers

How to make a new List in Java

We create a Set as: Set myset = new HashSet() How ...READ MORE

Apr 14, 2022 in Java by Rahul
• 3,380 points
369 views
0 votes
0 answers

Reverse a string in Java

I have "Hello World" kept in a ...READ MORE

Apr 14, 2022 in Java by Rahul
• 3,380 points
358 views
0 votes
1 answer

Google Conversions Not Working - Script Won't Load

To give you a suggestion, you will ...READ MORE

Feb 10, 2022 in Java by Soham
• 9,710 points
2,994 views
0 votes
1 answer

Uncaught referenceerror: $ is not defined

The references must be aligned or put ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
2,620 views
0 votes
1 answer

Exception in thread main java.util.InputMismatchException error

Problem int name; //Name should be of type ...READ MORE

Feb 18, 2022 in Java by Rahul
• 9,680 points
2,064 views
0 votes
1 answer

jQuery fix for "Uncaught TypeError: $ is not a function" error

 Use the following lines of code in ...READ MORE

Feb 16, 2022 in Java by Aditya
• 7,680 points
2,121 views
0 votes
1 answer

Cannot read property 'push' of undefined when combining arrays

The reason why you get this ERROR ...READ MORE

Feb 11, 2022 in Java by Rahul
• 9,680 points
2,284 views
0 votes
1 answer

JSON formatter in C#?

 In order to do the needful, one ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
2,385 views
0 votes
1 answer

Not able to resolve Datatable SCRIPT5007: Unable to set property '_DT_CellIndex' of undefined or null reference

I had experienced the same error! What ...READ MORE

Feb 16, 2022 in Java by Soham
• 9,710 points
1,901 views
0 votes
1 answer

__proto__ VS. prototype in JavaScript

To answer your query, the __proto__ is ...READ MORE

Feb 22, 2022 in Java by Aditya
• 7,680 points
1,564 views
0 votes
1 answer

Protocol handler initialization failed:

For me the protocol handler initialization failed ...READ MORE

Feb 17, 2022 in Java by Aditya
• 7,680 points
1,723 views
0 votes
1 answer

Failed to load resource: the server responded with a status of 404 (not found)

In order to avoid an error while ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
2,100 views
0 votes
1 answer

Using setTimeout to delay timing of jQuery actions

To answer your question, the .html() only ...READ MORE

Feb 9, 2022 in Java by Rahul
• 9,680 points
1,889 views
0 votes
1 answer

Render HTML to an image

To answer your question, there are a ...READ MORE

Feb 8, 2022 in Java by Soham
• 9,710 points
1,870 views
0 votes
1 answer

How can I check for "undefined" in JavaScript?

If you are interested in finding out ...READ MORE

Feb 22, 2022 in Java by Aditya
• 7,680 points
1,176 views
0 votes
1 answer

jQuery AJAX submit form

There is a simple input mentioned below ...READ MORE

Feb 8, 2022 in Java by Soham
• 9,710 points
1,654 views
0 votes
1 answer

'mvn' is not recognized as an internal or external command, operable program or batch file

 While I was solving this problem, the ...READ MORE

Feb 17, 2022 in Java by Aditya
• 7,680 points
1,260 views
0 votes
1 answer

Angular: conditional class with *ngClass

For your information, the latest Angular version ...READ MORE

Feb 9, 2022 in Java by Rahul
• 9,680 points
1,251 views
0 votes
1 answer

How to check a radio button with jQuery?

For versions of jQuery equal or above ...READ MORE

Feb 23, 2022 in Java by Aditya
• 7,680 points
582 views
0 votes
1 answer

Compare two dates with JavaScript

 The Date object will do what you ...READ MORE

Feb 18, 2022 in Java by Rahul
• 9,680 points
735 views
0 votes
1 answer

Programming Test - Codility - Dominator

After I had Googled "computing dominant member ...READ MORE

Feb 11, 2022 in Java by Soham
• 9,710 points
1,030 views
0 votes
1 answer

Parsing a string to a date in JavaScript

The best string format for string parsing ...READ MORE

Feb 18, 2022 in Java by Aditya
• 7,680 points
644 views
0 votes
1 answer

What's the difference between using "let" and "var"?

The main difference is scoping rules wherein ...READ MORE

Feb 17, 2022 in Java by Aditya
• 7,680 points
658 views
0 votes
1 answer

How do I get the current date in JavaScript?

To ensure that you get the current ...READ MORE

Feb 18, 2022 in Java by Aditya
• 7,680 points
587 views
0 votes
0 answers

Testing questions and answer

This category is home to all kinds ...READ MORE

Feb 24, 2022 in Java by anonymous
• 120 points
330 views
0 votes
1 answer

Refresh a page using JavaScript or HTML

This can be solved by using the ...READ MORE

Feb 18, 2022 in Java by Aditya
• 7,680 points
518 views
0 votes
1 answer

How to merge two arrays in JavaScript and de-duplicate items?

With Underscore.js or Lo-Dash you can use: console.log(_.union([1, ...READ MORE

Feb 18, 2022 in Java by Aditya
• 7,680 points
514 views
0 votes
1 answer

What does "javascript:void(0)" mean?

The href of the link helps with ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
937 views
0 votes
1 answer

Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed?

To answer your doubt, the reason is ...READ MORE

Feb 10, 2022 in Java by Rahul
• 9,680 points
811 views
0 votes
1 answer

What is the JavaScript version of sleep()?

JavaScript has evolved significantly since the time ...READ MORE

Feb 18, 2022 in Java by Aditya
• 7,680 points
458 views
0 votes
1 answer

How do I redirect with JavaScript?

To redirect to another page by Using ...READ MORE

Feb 16, 2022 in Java by Aditya
• 7,680 points
540 views
0 votes
1 answer

This page didn't load Google Maps correctly. See the JavaScript console for technical details

The solution to your query is relatively ...READ MORE

Feb 11, 2022 in Java by Rahul
• 9,680 points
752 views
0 votes
1 answer

jquery $.each() for objects

The $.each() works for objects and arrays ...READ MORE

Feb 16, 2022 in Java by Aditya
• 7,680 points
520 views
0 votes
1 answer

Problem with gif with transparent background

In this case, I have noticed that ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
869 views
0 votes
1 answer

How to split a string in Java

By using the appropriate method, this can ...READ MORE

Feb 9, 2022 in Java by Rahul
• 9,680 points

edited Jul 6, 2023 by Khan Sarfaraz 744 views