Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java

Java Questions & Answers

Browse 679 Java questions and answers from learners and industry experts. Find practical fixes, interview prep and step-by-step solutions - or ask your own.

679Discussions
809Answers
2Waiting for an answer
Ask a Java Question →

A long bigger than Long.MAX_VALUE

What happens if you need a number bigger than Long.MAX_VALUE in Java, and how can you handle it? Since long has fixed limits, Java provides special…

Java

1 Answer · 2.8K Views · Answered ✓

Asked by: Salma Nabeel · 1 year ago

Get the current URL with JavaScript?

How can you get the current URL with JavaScript, and what properties or methods make it possible? JavaScript provides simple ways through the…

Java

1 Answer · 572 Views · Answered ✓

Asked by: Irene Ellison · 1 year ago

Deleting array elements in JavaScript - delete vs splice

What is the difference between delete and splice when removing array elements in JavaScript? Both can delete items, but they behave differently in…

Java

1 Answer · 714 Views · Answered ✓

Asked by: Musah · 1 year ago

Reverse a string in Java

How do you reverse a string in Java, and what are the different ways to achieve it? Java provides multiple approaches—using StringBuilder, loops, or…

Java

1 Answer · 569 Views · Answered ✓

Asked by: jacackky · 1 year ago

What is the JavaScript string newline character?

What is the JavaScript string newline character, and how can you use it in your code? It helps break text into multiple lines, making strings more…

Java

1 Answer · 497 Views · Answered ✓

Asked by: jacackky · 1 year ago

Convert list to array in Java

How can you convert a list to an array in Java, and what are the most efficient ways to achieve it? This guide explains different methods like using…

Java

1 Answer · 1.0K Views · Answered ✓

Asked by: Mabel Hilton · 1 year ago

Find all objects with matching Ids javascript

How can you find all objects with matching IDs in JavaScript, and what are the most efficient methods to achieve this? Learn how to use techniques…

Java

1 Answer · 568 Views · Answered ✓

Asked by: Joaquina Messer · 1 year ago

Optimum way to compare strings in JavaScript?

What is the optimum way to compare strings in JavaScript, and how do different methods like ===, localeCompare(), or toLowerCase() impact performance…

Java

1 Answer · 658 Views · Answered ✓

Asked by: Motaher Hosain · 1 year ago

Get all unique values in a JavaScript array

How can you get all unique values from a JavaScript array, and what are the different methods to achieve this? Explore approaches like using Set,…

Java

1 Answer · 444 Views · Answered ✓

Asked by: The Skin · 1 year ago

How to disable JavaScript in Chrome Developer Tools?

How can you turn off JavaScript in Chrome using Developer Tools? Disabling JavaScript is useful for testing how a website behaves without scripts,…

Java

1 Answer · 5.1K Views · Answered ✓

Asked by: Hybrid Serpente · 1 year ago

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.