Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers for 'John Deere' - 2 question(s) found - Order By Rating | ||||
| ||||
Ans. git pull does a git fetch followed by a git merge. git fetch only change the remote tracking but never attempts to make changes to the local. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  git fetch vs git pull  git fetch  git pull Asked in 1 Companies | ||||
Related Questions | ||||
How can you check if a String is a 10 digit number by using regular expression ? | ||||
Write a program to print two digit numbers that fulfil following criteria Summing their digits and then multiplying with 3 should result in the number For ex - 27 , (2+7) * 3 = 27 | ||||
What is the difference between GIT Commit and Push ? | ||||
What is cloning in GIT ? | ||||
Difference between git init and git clone ? | ||||
difference between git add , git commit and git push ? | ||||
What is the purpose of rebasing the branch | ||||
How to calculate distance between 2 points using latitude longitude ? | ||||
write a program for 4 digit otp generation? | ||||
Very frequently asked to Fresh graduates. | ||||
| ||||
Ans. 1.Abstraction solves the problem at design level while encapsulation solves the problem at implementation level 2.Abstraction is used for hiding the unwanted data and giving relevant data. while Encapsulation means hiding the code and data into a single unit to protect the data from outside world. 3. Abstraction lets you focus on what the object does instead of how it does it while Encapsulation means hiding the internal details or mechanics of how an object does something. 4.For example: Outer Look of a Television, like it has a display screen and channel buttons to change channel it explains Abstraction but Inner Implementation detail of a Television how CRT and Display Screen are connect with each other using different circuits , it explains Encapsulation. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   oops   oops concepts   encapsulation  object oriented programming (oops)  oops concepts   abstraction   basic interview question   encapsulation vs abstraction Asked in 10 Companies basic   frequent | ||||
Try 2 Question(s) Test | ||||
Related Questions | ||||
What are the difference between composition and inheritance in Java? | ||||
Explain OOPs or Explain OOPs Principles or Explain OOPs Concepts or Explain OOPs features or Tell me something about OOPs | ||||
What are points to consider in terms of access modifier when we are overriding any method? | ||||
What is Polymorphism in Java ? | ||||
Difference between Overloading and Overriding ? | ||||
Can you give a real world example of Encapsulation and Abstraction ? | ||||
Why every object constructor automatically call super() in Object before its own constructors? | ||||
How compiler handles the exceptions in overriding ? | ||||
Difference between Composition and Inheritance ? | ||||