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 →

undo git pull-How to undo a git pull?

I would like to undo my git pull on account of unwanted commits on the remote origin, but I don't know which revision I have to reset back to.How can…

Java

1 Answer · 929 Views · Answered ✓

Asked by: Aditi Ishii · 5 years ago

what does on_delete do on Django models?

I'm quite familiar with Django but recently noticed there exist an on_delete=models.CASCADE option with the models, I have searched for the…

Java

1 Answer · 607 Views · Answered ✓

Asked by: Amit Sinha · 5 years ago

Uninstall MongoDB on Mac OS X

When I try to run mongod from the terminal, I get the following error:2014-07-02T23:56:24.797-0700 [initandlisten] ERROR: listen(): bind() failed…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Akansha Chawla · 5 years ago

How tf.gradients work in TensorFlow

Given I have a linear model as the following I would like to get the gradient vector with regards to W and b.# tf Graph InputX =…

Java

1 Answer · 1.2K Views · Answered ✓

Asked by: Akansha Chawla · 5 years ago

git remove-How do I remove Git tracking from a project?

I want to remove Git tracking from a project's directory. What is the correct method to do this? Can I do a shell command such asrm -rf .gitfrom my…

Java

1 Answer · 1.3K Views · Answered ✓

Asked by: Abdul Rehman · 5 years ago

Mongoose Schema hasn't been registered for model

I'm learning the mean stack and when I try to start the server usingnpm startI get an exception saying that:schema hasn't been registered for model…

Java

1 Answer · 626 Views · Answered ✓

Asked by: Amit jaisawal · 5 years ago

Mongoose Schema hasn't been registered for model

I'm learning the mean stack and when I try to start the server usingnpm startI get an exception saying that:schema hasn't been registered for model…

Java

1 Answer · 1.4K Views · Answered ✓

Asked by: Abhinayan Verma · 5 years ago

- git: patch does not apply

I have a certain patch called my_pcc_branch.patch.When I try to apply it, I get the following message:$ git apply --check my_pcc_branch.patchwarning:…

Java

1 Answer · 1.3K Views · Answered ✓

Asked by: Aditi Ishii · 5 years ago

git view changes-How to show uncommitted changes in Git

How do I show uncommitted changes in Git?I SFTW'ed, and those commands do not work.Bhamra@Bhamra-THINK MINGW64 /d/nano/repos/PSTools/psservice…

Java

1 Answer · 1.0K Views · Answered ✓

Asked by: Aashish chaursiya · 5 years ago

Use String.split() with multiple delimiters

I need to split a string base on delimiter - and .. Below are my desired output.AA.BB-CC-DD.zip ->AABBCCDDzip but my following code does not…

Java

1 Answer · 672 Views · Answered ✓

Asked by: Aashna Saito · 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.