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 →

How can I implement string to java atoi?

The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this…

Java

1 Answer · 950 Views · Answered ✓

Asked by: Aashish chaursiya · 4 years ago

Is C++ faster than java?

Sometimes Java outperforms C++ in benchmarks. Of course, sometimes C++ outperforms.See the following…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: alex GONZALEZ · 4 years ago

Is it better to return null java Or not?

I am looking for a recommendation here. I am struggling with whether it is better to return NULL or an empty value from a method when the return…

Java

1 Answer · 454 Views · Answered ✓

Asked by: Alison Kelly · 4 years ago

Explain the pig latin translator java.

Over the last few days I created this Pig Latin Translator just for fun. I would really appreciate it if anybody could give suggestions of how to…

Java

1 Answer · 1.1K Views · Answered ✓

Asked by: Andrea Bailey · 4 years ago

Explain rot13 javascript.

I wrote a ROT13 cipher script rotating uppercase letters only. Can this function be improved?ROT13 Wikipedia articlefunction rot13(str) {var codeA =…

Java

1 Answer · 853 Views · Answered ✓

Asked by: Amit raj · 4 years ago

How to print a tree in java?

I have written a program to print a binary tree level by level on different lines, like the tree would actually look if drawn on paper.I have done a…

Java

2 Answers · 2.4K Views · Answered ✓

Asked by: Ajit yadav · 4 years ago

How does the java return tuple work?

Sometimes you want to return multiple values from a function. How is this normally done in Java? One option is to use an array, like this Python…

Java

1 Answer · 1.1K Views · Answered ✓

Asked by: Amit raj · 4 years ago

Which algorithm is considered as a maze solver java?

was to write a simple maze solver program that takes in an input file denoting the maze start and end points, and the structure of the maze itself.…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Aishwarya Jhadav · 4 years ago

Why is java web development not a common practice?

As a professional Java programmer, I've been trying to understand - why the hate toward Java for modern web applications?I've noticed a trend that…

Java

1 Answer · 857 Views · Answered ✓

Asked by: Amit jaisawal · 4 years 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.