Latest questions in Java

0 votes
0 answers

what is class component in react ?

Jan 12 in Java by Evanjalin
• 7,080 points
336 views
0 votes
0 answers

How to iterate arraylist in java?

How does one perform iteration over an ...READ MORE

Dec 19, 2023 in Java by Saniya
• 3,360 points
497 views
0 votes
0 answers

How to capitalize first letter in java?

How can one implement the capitalization of ...READ MORE

Dec 19, 2023 in Java by Saniya
• 3,360 points
447 views
0 votes
0 answers

how to compile java code in command prompt

how to compile java code in command ...READ MORE

Nov 29, 2023 in Java by Priyanka
• 4,500 points
389 views
0 votes
0 answers

why so JavaScript and java have similar name

Nov 29, 2023 in Java by Priyanka
• 4,500 points
722 views
0 votes
0 answers

how to sort 2d array in java ?

Nov 29, 2023 in Java by Evanjalin
• 7,080 points
487 views
0 votes
1 answer

How to reverse a string in java word by word?

Here is the code to reverse a ...READ MORE

Dec 13, 2023 in Java by Anu
452 views
0 votes
1 answer

How to convert decimal to binary in java?

In Java, you can convert a decimal ...READ MORE

Dec 13, 2023 in Java by John
545 views
0 votes
1 answer

Why Java is not pure object oriented?

Java is often described as not being ...READ MORE

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

Why java is called platform independent?

Java is often referred to as a ...READ MORE

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

What is dynamic method dispatch in Java?

Dynamic Method Dispatch is a fundamental concept ...READ MORE

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

How much time it takes to learn Java?

Learning Java, like any programming language, can ...READ MORE

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

What is the default priority of a thread in java?

By default, in Java, when a thread ...READ MORE

Nov 29, 2023 in Java by Zoya
448 views
0 votes
1 answer

how to get ascii value of char in java

In Java, you can get the ASCII ...READ MORE

Nov 24, 2023 in Java by Zoya
406 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
465 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
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
332 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 run applet program in java?

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

Nov 9, 2023 in Java by anonymous
• 3,360 points
722 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
432 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
431 views
0 votes
2 answers

What is the most important feature of java?

The most important feature of Java is ...READ MORE

Nov 29, 2023 in Java by anonymous
• 3,360 points
457 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
703 views
0 votes
1 answer

How to check java version in linux?

Checking your Java version on a Linux ...READ MORE

Nov 2, 2023 in Java by anonymous
2,774 views
0 votes
1 answer

What is truncation in Java?

In Java, truncation refers to the process ...READ MORE

Nov 2, 2023 in Java by anonymous
• 3,360 points
2,150 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
950 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
429 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
276 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
496 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
459 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 736 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 727 views
0 votes
1 answer

what is the extension of compiled java classes?

The extension of compiled Java classes is ...READ MORE

Oct 17, 2023 in Java by anonymous
• 520 points
4,258 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
610 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
542 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
674 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
653 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

Final Keyword in Java

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

Oct 17, 2023 in Java by Ayush
524 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
595 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
513 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
421 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 468 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
495 views
0 votes
1 answer

What is the extension of java code files?

Java source code files often have the ...READ MORE

Oct 11, 2023 in Java by anonymous
• 3,360 points
2,431 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
370 views
0 votes
0 answers

Java Programming

why java is platform independent READ MORE

Sep 28, 2023 in Java by Arya
• 990 points
348 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
399 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
692 views
0 votes
0 answers

When to use promise.all()?

What is/are the appropriate scenario(s) for using promise.all() OR Is there a better way to utilize promise.all()?  Should it be used ideally just when all of the promise objects are of the same or comparable type? The only one that comes to mind is: Use promise.all() if you want to resolve the promise only if all of ...READ MORE

Dec 12, 2022 in Java by Nicholas
• 7,760 points
462 views