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 →

What is a "driver class"?

What does the term “driver class” mean in programming, and how is it used to execute or test other classes? How does it help in organizing and…

Java

1 Answer · 1.3K Views · Answered ✓

Asked by: Joseph Charlesworth · 1 year ago

Ternary Operator

What is the ternary operator in programming, and how does it simplify writing conditional statements? How can you use it as a shorthand alternative…

Java

1 Answer · 743 Views · Answered ✓

Asked by: Jake Edmunds · 1 year ago

What is the volatile keyword useful for?

How does the volatile keyword work in Java, and what makes it important in multithreading? What problems does it solve when multiple threads access…

Java

1 Answer · 788 Views · Answered ✓

Asked by: Julia Graham · 1 year ago

Java JRE 64-bit download for Windows?

If you're running a 64-bit version of Windows and need Java to run applications or web content, you'll want the 64-bit JRE (Java Runtime…

Java

1 Answer · 626 Views · Answered ✓

Asked by: Justin Stewart · 1 year ago

What is the difference between JDK and JRE?

Understanding the roles of JDK (Java Development Kit) and JRE (Java Runtime Environment) is key for Java developers. Learn how they differ in…

Java

1 Answer · 1.6K Views · Answered ✓

Asked by: LarryLombardo · 1 year ago

Why is there no SortedList in Java?

How does Java handle sorted collections, and why isn’t there a direct SortedList implementation available? What alternatives like TreeSet,…

Java

1 Answer · 525 Views · Answered ✓

Asked by: kivoma · 1 year ago

"elseif" syntax in JavaScript

In JavaScript, how do you handle multiple conditions using if, else if, and else blocks? Understanding the correct "elseif" syntax helps in executing…

Java

1 Answer · 413 Views · Answered ✓

Asked by: Kevin Taylor · 1 year ago

Nested objects in javascript, best practices

Nested objects in JavaScript allow you to store structured data in a hierarchical format. But how can you manage them effectively and avoid common…

Java

1 Answer · 581 Views · Answered ✓

Asked by: Mark Johnson · 1 year ago

Should I import a math library, and if so how?

Are you dealing with mathematical calculations like square roots, trigonometry, or logarithms? Learn when it's necessary to import Python's built-in…

Java

1 Answer · 758 Views · Answered ✓

Asked by: Matt Dyer · 1 year ago

ava String Split by "|"

In Java, splitting a string by the pipe symbol | can be tricky because it's a special character in regular expressions. Learn how to properly escape…

Java

1 Answer · 500 Views · Answered ✓

Asked by: Jimmie Maddox · 1 year ago

What is the meaning of "$" sign in JavaScript

The $ symbol in JavaScript is not a reserved keyword; it's simply a valid variable name. It's often used as a shorthand for functions, especially in…

Java

1 Answer · 483 Views · Answered ✓

Asked by: Gloria Holl · 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.