Trending questions in Java

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
721 views
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,730 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
947 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
519 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
462 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
428 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
426 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
698 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
328 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
323 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 729 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 718 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
494 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
427 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
663 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
456 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
608 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
645 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
541 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
275 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
593 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
514 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
507 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 462 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
418 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
494 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
398 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
368 views
0 votes
0 answers

Java Programming

why java is platform independent READ MORE

Sep 28, 2023 in Java by Arya
• 990 points
345 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
685 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
396 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,233 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,116 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,463 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
21,996 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,158 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,861 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,805 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,882 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,374 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,266 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,211 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,771 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,724 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,027 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,805 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,676 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,031 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,183 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,014 views