Latest questions in Java

0 votes
0 answers

what is class component in react ?

Jan 12 in Java by Evanjalin
• 360 points
161 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,320 points
232 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,320 points
219 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
• 700 points
188 views
0 votes
0 answers

why so JavaScript and java have similar name

Nov 29, 2023 in Java by Priyanka
• 700 points
243 views
0 votes
0 answers

how to sort 2d array in java ?

Nov 29, 2023 in Java by Evanjalin
• 360 points
312 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
254 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
293 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,320 points
273 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,320 points
241 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,320 points
404 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,320 points
217 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
237 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
233 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
276 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
372 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
217 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
218 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,320 points
412 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,320 points
262 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,320 points
254 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,320 points
292 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,320 points
329 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
826 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,320 points
1,300 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,320 points
700 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
298 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
187 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,320 points
350 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,320 points
266 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,320 points

edited Oct 19, 2023 by anonymous 381 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,320 points

edited Oct 19, 2023 by anonymous 432 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
1,894 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
378 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
307 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
340 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,320 points
399 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
252 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
254 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
397 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,320 points
292 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,320 points
247 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,320 points

edited Oct 19, 2023 by anonymous 248 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,320 points
362 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,320 points
1,468 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
232 views
0 votes
0 answers

Java Programming

why java is platform independent READ MORE

Sep 28, 2023 in Java by Arya
• 990 points
166 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
227 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
458 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
347 views