Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. James Williams

James Williams

Community Learner
Share
7Questions
7Answers
6.3KViews on questions

How to add days to Date?

Adding days to a date is a common task in programming, databases, and everyday applications like scheduling or report generation. The approach depends on the language or platform you’re working with, but most provide built-in functions or libraries to handle this easily without manually calculating calendar rules. For…

Java

Answered Sep 21, 2025 · 569 Views Read answer →

How can I get screen width Android in java?

You can get screen width Android and screen height using the below code: Dimension dimensions = driver.manage().window().getSize(); int screenWidth = dimensions.getWidth(); int screenHeight = dimensions.getHeight();

Java

Answered Oct 6, 2022 · 781 Views Read answer →

Call a function from another file in Python

If you want to call python to use a function from another file then there isn't any need to add file.py at the time of importing. You just need to write from the file import function and then call the function using function(a, b)and you are done. Now why not to use file.py is because it may not work, the file is one…

Python

Answered Mar 16, 2021 · 816 Views Read answer →

How we can merge two or more vectors in R?Explain with an example

For merging two or more vectors, we use append() function which is a built in function in R. Let us define two vectors v=c(10,20,30,40) v2=c(50,60,70,80) To merge these two vectors we can do the following append(v,v2) This will give the following output [1] 10 20 30 40 50 60 70 80

Data Science

Answered Jan 2, 2020 · 1.0K Views Read answer →

More members from the Data Science community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.