Trending questions in Java

0 votes
1 answer

Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

If you have a jstl.jar file while ...READ MORE

Feb 17, 2022 in Java by Aditya
• 7,680 points

edited Jun 22, 2023 by Khan Sarfaraz 27,941 views
0 votes
1 answer

How to run applet program in java?

Running an applet program in Java has ...READ MORE

Nov 9, 2023 in Java by anonymous
• 3,360 points
736 views
0 votes
1 answer

How to download minecraft java edition?

Downloading Minecraft: Java Edition is a straightforward ...READ MORE

Oct 30, 2023 in Java by anonymous
• 3,360 points
974 views
0 votes
1 answer

what is j2ee in java

J2EE (Java 2 Platform, Enterprise Edition) is ...READ MORE

Nov 10, 2023 in Java by John
526 views
0 votes
1 answer

what is diamond problem in java

The diamond problem in Java happens when ...READ MORE

Nov 10, 2023 in Java by Priya
476 views
0 votes
1 answer

How many ways to create object in java?

In Java, there are several methodologies to ...READ MORE

Nov 9, 2023 in Java by anonymous
• 3,360 points
445 views
0 votes
1 answer

How to download eclipse for java?

Downloading Eclipse for Java development is a ...READ MORE

Nov 9, 2023 in Java by anonymous
• 3,360 points
439 views
0 votes
1 answer

How to convert string to char array in Java?

In Java, you can convert a `String` ...READ MORE

Nov 2, 2023 in Java by anonymous
• 3,360 points
718 views
0 votes
0 answers

How to set the java_home path in Windows 10?

How to set the java_home path in ...READ MORE

Nov 3, 2023 in Java by Arya
• 990 points
341 views
0 votes
0 answers

String to char array

How to convert a string to a ...READ MORE

Nov 3, 2023 in Java by Arya
• 990 points
330 views
0 votes
1 answer

How to take character input in Java?

In Java, you can take character input ...READ MORE

Oct 19, 2023 in Java by anonymous
• 3,360 points

edited Oct 19, 2023 by anonymous 755 views
0 votes
1 answer

Why main method is static in Java?

In Java, the `main` method is required ...READ MORE

Oct 19, 2023 in Java by anonymous
• 3,360 points

edited Oct 19, 2023 by anonymous 755 views
0 votes
1 answer

what is functional interface in java?

A functional interface in Java is an ...READ MORE

Oct 17, 2023 in Java by anonymous
• 520 points
707 views
0 votes
1 answer

Where can an object store its states Java?

In Java, an object stores its internal ...READ MORE

Oct 23, 2023 in Java by anonymous
• 3,360 points
505 views
0 votes
1 answer

what is jsx in react

JSX (JavaScript XML) in React is a ...READ MORE

Oct 25, 2023 in Java by Aditya
436 views
0 votes
1 answer

Why Java does not support multiple inheritance?

Java does not support multiple inheritance through ...READ MORE

Oct 23, 2023 in Java by anonymous
• 3,360 points
476 views
0 votes
1 answer

Why java is not 100 object oriented ?

Java is often considered "not 100% object-oriented" ...READ MORE

Oct 17, 2023 in Java by anonymous
• 520 points
620 views
0 votes
1 answer

Why multiple inheritance is not supported in Java?

The absence of multiple inheritance in the ...READ MORE

Oct 17, 2023 in Java by anonymous
• 3,360 points
666 views
0 votes
1 answer

how to run java program in notepad?

To run a Java program in Notepad: Write ...READ MORE

Oct 17, 2023 in Java by anonymous
• 520 points
559 views
0 votes
1 answer

How java is platform independent?

At the source and binary levels, Java ...READ MORE

Oct 25, 2023 in Java by Aman
283 views
0 votes
1 answer

what is super keyword in java

In Java, the super keyword is used ...READ MORE

Oct 17, 2023 in Java by Rishabh
601 views
0 votes
1 answer

Final Keyword in Java

In Java, the final keyword is used ...READ MORE

Oct 17, 2023 in Java by Ayush
545 views
0 votes
1 answer

What is garbage collection in the context of Java?

Garbage collection in the context of Java ...READ MORE

Oct 16, 2023 in Java by anonymous
• 3,360 points
520 views
0 votes
1 answer

How to create immutable class in Java?

To create an immutable class in Java, ...READ MORE

Oct 16, 2023 in Java by anonymous
• 3,360 points

edited Oct 19, 2023 by anonymous 482 views
0 votes
1 answer

What are the features of Java?

Java is a widely-used, versatile, and platform-independent ...READ MORE

Oct 16, 2023 in Java by anonymous
• 3,360 points
433 views
0 votes
1 answer

How Hashmap works internally in java?

A popular data structure for storing key-value ...READ MORE

Oct 11, 2023 in Java by anonymous
• 3,360 points
506 views
0 votes
1 answer

why java is not 100 object oriented?

Java somewhat adheres to object-oriented programming because ...READ MORE

Oct 13, 2023 in Java by Avinash
• 520 points
404 views
0 votes
1 answer

How to call a method in java

In Java, you call a method by ...READ MORE

Oct 13, 2023 in Java by Aditya
381 views
0 votes
0 answers

Java Programming

why java is platform independent READ MORE

Sep 28, 2023 in Java by Arya
• 990 points
358 views
0 votes
2 answers

I recently used Crockford's JSLint to check some of my JavaScript code, and it returned the following error:

"Use strict"; is a directive in JavaScript ...READ MORE

Sep 18, 2023 in Java by Rahul
• 240 points
708 views
0 votes
0 answers

How to check whether a string contains a substring in JavaScript?

Usually I would expect a String.contains() method, but there ...READ MORE

Sep 13, 2023 in Java by Rahul
• 240 points
410 views
0 votes
1 answer

Error:No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call

Hii @kartik, If you have @Transactional // Spring Transactional class ...READ MORE

May 22, 2020 in Java by Niroj
• 82,840 points
50,695 views
0 votes
0 answers

Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

I want to configure hibernate ORM mapping ...READ MORE

May 11, 2022 in Java by Kichu
• 19,040 points
19,182 views
+2 votes
4 answers

Javac command not working in my windows 10

Check your javac path on Windows using Windows Explorer C:\Program Files\Java\jdk1.7.0_02\bin and ...READ MORE

Aug 6, 2019 in Java by Sirajul
• 59,230 points
51,520 views
0 votes
1 answer

jQuery get value of select onChange

Try the following lines of code- $('select').on('change', function() ...READ MORE

Feb 11, 2022 in Java by Soham
• 9,710 points
22,156 views
+1 vote
3 answers

3 dot in parameter in Java

The "Three Dots" in java is called ...READ MORE

Nov 22, 2018 in Java by geek.erkami
• 2,680 points
56,301 views
0 votes
1 answer

Wait until all jQuery Ajax requests are done?

You may need to run certain code ...READ MORE

May 30, 2022 in Java by gaurav
• 23,260 points
16,991 views
0 votes
1 answer

java.text.ParseException: Unparseable date

Your pattern does not align to the ...READ MORE

Feb 23, 2022 in Java by Aditya
• 7,680 points

edited Jun 22, 2023 by Khan Sarfaraz 19,870 views
0 votes
3 answers

Setting time zone of a java.util.Date

Using Java 8 Java 8 introduced a new Date-Time ...READ MORE

Dec 15, 2020 in Java by Gitika
• 65,770 points
56,946 views
0 votes
1 answer

How to decode jwt token in javascript without using a library?

Working unicode text JWT parser function: function parseJwt ...READ MORE

Nov 4, 2022 in Java by Damonlang
• 700 points
7,412 views
0 votes
1 answer

Violation Long running JavaScript task took xx ms

These messages are classified as warnings rather ...READ MORE

Nov 15, 2022 in Java by Damonlang
• 1,230 points
4,308 views
0 votes
1 answer

How to filter an array from all elements of another array

This is what I would do: var arr1 = [1,2,3,4], ...READ MORE

Nov 7, 2022 in Java by Damonlang
• 700 points
4,239 views
0 votes
0 answers

Javascript remove background color and opacity

How can I delete the background-color  ...READ MORE

Dec 6, 2022 in Java by Nicholas
• 7,760 points
2,823 views
0 votes
1 answer

Vanilla JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it

Use Internet Explorer 9 or later if you're using VANILLA pure JavaScript without jQuery. document.addEventListener("DOMContentLoaded", function(event) { // ...READ MORE

Nov 8, 2022 in Java by Damonlang
• 700 points
3,074 views
0 votes
1 answer

Calculate string value in javascript, not using eval

You could use the Function() constructor: function evil(fn) ...READ MORE

Nov 15, 2022 in Java by Damonlang
• 1,230 points
2,763 views
0 votes
1 answer

javascript filter array multiple conditions

You can do like this var filter = ...READ MORE

Nov 8, 2022 in Java by Damonlang
• 700 points
2,830 views
0 votes
1 answer

How to trigger a file download when clicking an HTML button or JavaScript

You can trigger a download with the ...READ MORE

Nov 7, 2022 in Java by Damonlang
• 700 points
2,691 views
0 votes
0 answers

How can I find the prime factors of an integer in JavaScript?

Using a for loop in javascript, I was attempting to determine the prime factors of a number, denoted as 'integer' below.  I can't seem to get it to work, and I'm not sure if it's because of my JavaScript or my calculating logic. //integer is the value for which we ...READ MORE

Dec 12, 2022 in Java by Nicholas
• 7,760 points
1,053 views
0 votes
0 answers

How to get the current London time and date using javascript

Using the code below, I attempted to& ...READ MORE

Dec 7, 2022 in Java by Nicholas
• 7,760 points
1,197 views
0 votes
0 answers

Generate pdf from HTML in div using Javascript

I have the following HTML code: <!DOCTYPE html> <html> ...READ MORE

Dec 9, 2022 in Java by Nicholas
• 7,760 points
1,022 views