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 →

Remove duplicate values from JS array

How can you remove duplicate values from a JavaScript array? Explore simple and effective methods to clean up arrays using built-in features like…

Java

1 Answer · 421 Views · Answered ✓

Asked by: Margaret Adelman · 1 year ago

Sort an array in Java

How do you sort an array in Java? Learn the different ways to arrange elements in ascending or descending order using built-in methods like…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: uashamazed · 1 year ago

How can I check for "undefined" in JavaScript?

How can I check for "undefined" in JavaScript? Learn the various methods to check if a variable is undefined, including using strict equality,…

Java

1 Answer · 827 Views · Answered ✓

Asked by: CalebLowe · 1 year ago

How to set up java logging using a properties file?

How can I set up Java logging using a properties file? Discover the steps to configure Java's built-in logging mechanism with a properties file,…

Java

1 Answer · 1.5K Views · Answered ✓

Asked by: DanielWilson · 1 year ago

How do I redirect to another webpage?

How can I redirect to another webpage? Learn the methods and steps involved in using HTML, JavaScript, or server-side techniques to smoothly guide…

Java

1 Answer · 698 Views · Answered ✓

Asked by: Dylan PEREZ · 1 year ago

location.reload(true) is deprecated

What does location.reload(true) mean, and why is it deprecated? In JavaScript, location.reload(true) was used to force a page reload from the server,…

Java

1 Answer · 1.8K Views · Answered ✓

Asked by: Eddie Nelson · 1 year ago

How can I submit a form using JavaScript?

How can you programmatically submit a form using JavaScript? What methods or functions does JavaScript provide to handle form submission dynamically,…

Java

1 Answer · 427 Views · Answered ✓

Asked by: Helena Smith · 1 year ago

How to reload a page using JavaScript

How can you refresh or reload a web page using JavaScript? What are the different methods to trigger a reload, and how do they behave in terms of…

Java

1 Answer · 801 Views · Answered ✓

Asked by: Deepak Mistry · 1 year ago

What exactly does a jar file contain?

What exactly is inside a JAR file, and how does it work in Java applications? A JAR (Java ARchive) file bundles together multiple Java class files,…

Java

1 Answer · 1.4K Views · Answered ✓

Asked by: ROHIT Jhadav · 1 year ago

Working with a List of Lists in Java

A List of Lists in Java allows you to create a collection of lists, making it ideal for managing multi-dimensional data. This can be useful for tasks…

Java

1 Answer · 1.0K Views · Answered ✓

Asked by: Neha Tambe · 1 year ago

What does this symbol mean in JavaScript?

What does a specific symbol mean in JavaScript, and how is it used in coding? How can understanding symbols like ==, ===, =>, or ... help you write…

Java

1 Answer · 611 Views · Answered ✓

Asked by: Dylan PEREZ · 1 year ago

What's the simplest way to print a Java array?

What simple methods are available to display an entire array in Java easily and clearly? Let's explore the easiest options!

Java

1 Answer · 1.0K Views · Answered ✓

Asked by: Danniel Georgia · 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.