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 →

Check if a div exists with jquery

Yes, I know this has been asked a lot. But, it confuses me, since the results on google for this search show different methods (listed…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Lily Hemmings · 5 years ago

How to round up the result of integer division?

I'm thinking in particular of how to display pagination controls, when using a language such as C# or Java.If I have x items that I want to display…

Java

1 Answer · 1.0K Views · Answered ✓

Asked by: Chris Dyer · 5 years ago

Pandas: Convert Timestamp to datetime.date

I have a pandas column of Timestamp dataIn [27]: train["Original_Quote_Date"][6] Out[27]: Timestamp('2013-12-25 00:00:00')How can check the…

Java

1 Answer · 1.3K Views · Answered ✓

Asked by: Kalyani Malhotra · 5 years ago

throw checked Exceptions from mocks with Mockito

I'm trying to have one of my mocked objects throw a checked exception is invalid for this method is called@Test(expectedExceptions =…

Java

3 Answers · 7.5K Views · Answered ✓

Asked by: arti Trivedi · 5 years ago

JPA/Hibernate: detached entity passed to persist

What is a detached entity passed to persist? what is that detached entity the message talks about? I have a JPA-persisted object model that contains…

Java

3 Answers · 21.9K Views · Answered ✓

Asked by: Aashna Saito · 5 years ago

selenium - chromedriver executable needs to be in PATH

'chromedriver' executable needs to be in PATHI was trying to code a script using selenium in pycharm, however, the above error occurred. I have…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Aishwarya Jhadav · 5 years ago

jquery UI icons not loading when using static resource

When I use a static resource for my jquery UI, the icons are not loading, if I use the CDN links, it loads properly.Here I referenced the CSS and js…

Java

1 Answer · 1.5K Views · Answered ✓

Asked by: Ankur vaish · 5 years ago

How can I calculate mean per group in a data frame

To calculate the mean of grouped data, the first step is to determine the midpoint (also called a class mark) of each interval, or class. These…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Ayushi Khatri · 5 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.