Trending questions in Java

0 votes
1 answer

could not find module "@angular-devkit/build-angular"

The mode must be changed to Dev ...READ MORE

Feb 8, 2022 in Java by Rahul
• 9,680 points
7,123 views
0 votes
0 answers

Is hiding implementation detail Encapsulation or Abstraction?

I have seen some people defining abstraction ...READ MORE

May 6, 2022 in Java by narikkadan
• 63,600 points
3,212 views
0 votes
0 answers

Editor does not contain a main type in Eclipse

I have 64-bit ubuntu where I downloaded ...READ MORE

May 19, 2022 in Java by Kichu
• 19,040 points
2,622 views
0 votes
1 answer

jQuery UI " $("#datepicker").datepicker is not a function"

I struggled with a similar problem for ...READ MORE

Feb 17, 2022 in Java by Soham
• 9,710 points
6,442 views
0 votes
1 answer

exposed beyond app through ClipData.Item.getUri

To solve this ERROR you need to ...READ MORE

Feb 16, 2022 in Java by Aditya
• 7,680 points
6,322 views
0 votes
0 answers

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 exception

I am getting the error java.lang.IndexOutOfBoundsException: Index: ...READ MORE

May 17, 2022 in Java by Kichu
• 19,040 points
2,460 views
0 votes
1 answer

Bootstrap 4 multiselect dropdown

Due to the reason being that the ...READ MORE

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

Javamail Could not convert socket to TLS GMail

I want to send an email using ...READ MORE

May 2, 2022 in Java by Kichu
• 19,040 points
3,009 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'value' of null

As you have not shared your HTML ...READ MORE

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

CCAvenue Payment Error code 10002 Merchant Authentication failed. Don't worry... It happens to the best of us

I used the code which is provided ...READ MORE

May 24, 2022 in Java by Kichu
• 19,040 points
2,003 views
0 votes
0 answers

Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

I am getting this error when I ...READ MORE

May 20, 2022 in Java by Kichu
• 19,040 points
2,063 views
0 votes
1 answer

Google AJAX Libraries CDN for jQuery

The Google Hosted Libraries is a stable, ...READ MORE

May 30, 2022 in Java by gaurav
• 23,260 points
1,642 views
0 votes
0 answers

How to set XML Attribute inside XML Element in Java Pojo Class - JAVX

How can I get this Output Response? <Response> ...READ MORE

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

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

I am getting this exception when I ...READ MORE

May 7, 2022 in Java by narikkadan
• 63,600 points
2,476 views
0 votes
0 answers

java.lang.NumberFormatException: null i

I am getting this error while doing ...READ MORE

May 13, 2022 in Java by Kichu
• 19,040 points
2,100 views
0 votes
0 answers

How to round up integer division and have int result in Java?

I am working on a code to ...READ MORE

May 5, 2022 in Java by Kichu
• 19,040 points
2,363 views
0 votes
0 answers

Error occurred during initialization of boot layer FindException: Module not found

I executed this command line: java --module-path bin ...READ MORE

May 13, 2022 in Java by Kichu
• 19,040 points
1,857 views
0 votes
0 answers

Eclipse "Error: Could not find or load main class"

I have a project on my laptop ...READ MORE

May 7, 2022 in Java by narikkadan
• 63,600 points
2,100 views
0 votes
1 answer

How do I resolve the "java.net.BindException: Address already in use: JVM_Bind" error?

If you are aware about what port ...READ MORE

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

Getting java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory exception

I am getting this exception when I ...READ MORE

May 18, 2022 in Java by Kichu
• 19,040 points
1,483 views
0 votes
0 answers

How can I fix 'android.os.NetworkOnMainThreadException'?

When I run the Android project for ...READ MORE

May 23, 2022 in Java by Kichu
• 19,040 points
1,239 views
0 votes
0 answers

keytool error Keystore was tampered with, or password was incorrect

When I generate certificates on my local ...READ MORE

May 19, 2022 in Java by Kichu
• 19,040 points
1,232 views
0 votes
0 answers

How to avoid java.util.ConcurrentModificationException when iterating through and removing elements from an ArrayList

I wanted to iterate over an ArrayList ...READ MORE

May 23, 2022 in Java by Kichu
• 19,040 points
706 views
0 votes
1 answer

Does Java have a "IN" operator or function like SQL? [duplicate]

The Java language is designed to be ...READ MORE

Feb 2, 2022 in Java by Vaani
• 7,070 points

edited Jun 22, 2023 by Khan Sarfaraz 5,385 views
0 votes
0 answers

Converting Java objects to JSON with Jackson

I need my JSON to be like ...READ MORE

May 23, 2022 in Java by Kichu
• 19,040 points
619 views
0 votes
1 answer

Angular JS Uncaught Error: [$injector:modulerr]

 The answer to your question is simple ...READ MORE

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

java.net.SocketException: Connection reset

I was having an error when I ...READ MORE

May 8, 2022 in Java by Kichu
• 19,040 points
1,036 views
0 votes
0 answers

What is a IOException, and how do I fix it?

What is causing java.io.IOException? What does it ...READ MORE

May 19, 2022 in Java by Kichu
• 19,040 points
491 views
0 votes
0 answers

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path [duplicate]

I have a project created by Maven ...READ MORE

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

Error java.lang.OutOfMemoryError: GC overhead limit exceeded

When I execute my JUnit tests I am getting ...READ MORE

May 15, 2022 in Java by Kichu
• 19,040 points
588 views
0 votes
0 answers

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

How can I decode the payload of ...READ MORE

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

What is "String args[]"? parameter in main method Java

I am a beginner in java and ...READ MORE

May 15, 2022 in Java by Kichu
• 19,040 points
570 views
0 votes
0 answers

Can I override and overload static methods in Java?

My questions are: Why can't static methods be ...READ MORE

May 15, 2022 in Java by Kichu
• 19,040 points
525 views
0 votes
1 answer

Start script missing error when running npm start

It seems that there is an undefined ...READ MORE

Feb 10, 2022 in Java by Soham
• 9,710 points
4,470 views
0 votes
4 answers

“Cannot find symbol” compilation error

The "Cannot find symbol" errors generally occur when you ...READ MORE

Dec 16, 2020 in Java by Gitika
• 65,770 points
42,492 views
0 votes
1 answer

Javascript require() function giving ReferenceError: require is not defined

RequireJS is a JavaScript file and module ...READ MORE

Feb 17, 2022 in Java by Aditya
• 7,680 points
3,869 views
0 votes
0 answers

Can an outer class access the members of inner class?

If the inner class is defined as ...READ MORE

May 9, 2022 in Java by Kichu
• 19,040 points
426 views
0 votes
0 answers

Int division: Why is the result of 1/3 == 0?

I ran this code and got the result ...READ MORE

May 9, 2022 in Java by Kichu
• 19,040 points
366 views
0 votes
0 answers

window.location.href and window.open () methods in JavaScript

What is the difference between window.location.href and ...READ MORE

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

JavaScript: Upload file

For a Pure JS, you can use ...READ MORE

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

public static void main(String arg[ ] ) in java is it fixed?

I was recently asked in an exam ...READ MORE

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

What is a NullPointerException, and how do I fix it?

What are Null Pointer Exceptions (java.lang.NullPointerException) and ...READ MORE

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

testingtesttest

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

Apr 26, 2022 in Java by anonymous
• 300 points
428 views
0 votes
0 answers

How do I "decompile" Java class files? [closed]

What program can I use to decompile ...READ MORE

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

What is the default access specifier in Java?

I just started reading a Java book ...READ MORE

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

Data access object (DAO) in Java

I was going through a document and ...READ MORE

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

When to use LinkedList over ArrayList in Java?

I've always been one to simply use: List<String> ...READ MORE

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

Convert integer to string

Given a number: int number = 1234; Which would ...READ MORE

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

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

Java doesn't allow multiple inheritance, but it ...READ MORE

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

What are the differences between a HashMap and a Hashtable in Java?

What are the differences between a HashMap and a Hashtable in ...READ MORE

Apr 26, 2022 in Java by Rahul
• 3,380 points
407 views