Interview Questions and Answers - Order By Newest Q31. What are the core OOPs concepts ? Core Java
Ans. Abstraction, Encapsulation, Polymorphism , Composition and Inheritance Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  core oops concepts Asked in 65 Companies basic   frequent This question was recently asked at 'Acute Informatics,General Atomics'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 2 Companies Q33. Can you write the code for implementing the one to many (student -> courses) relationship in hibernate? Hibernate
Ans. @OneToMany(cascade = CascadeType.ALL)
@JoinColumn(name = "student_id")
private Set countries; Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q34. Can you explain software design principles cohesion and coupling with an example? Design
This question was recently asked at 'Fidelity Information Services (FIS)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  cohesion  coupling Asked in 1 Companies   frequent Ans. Oracle having following types of joins these are also called 8i joins. There are:
1. Equi (or) Inner join
2. Non Equi join
3.Self join
4.Outer join
Oracle also support the 9i (or) ANSI standard joins.There are:
1.Inner join
2.Left outer join
3.Right outer join
4.Full outer join
5.Natural join Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  sql joins  sql Asked in 2 Companies Q36. Is java fully platform independent ? Core Java
Ans. yes, Java is a class-based and object-oriented programming language. It is a platform-independent language i.e. the compiled code can be run on any java supporting platform. It runs on the logic of “Write once, run anywhere”. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q37. Which s/w is used for adhar card verification for amount transfer?
Ans. The Aadhaar enabled Payment System or AePS Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q38. Pascal Triangle Program
Ans. package snippet;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Pascal {
public static void main(String[] args) {
System.out.println(generatePascalTriangle(5));
}
static Map> generatePascalTriangle(int size) {
Map> triangle = new HashMap<>();
triangle.put(0, Arrays.asList(1));
triangle.put(1, Arrays.asList(1, 1));
for (int i = 2; i <= size; i ) {
List coeffListForI = new ArrayList<>();
List coeffListForI_1 = triangle.get(i - 1);
coeffListForI.add(1);
for (int j = 0; j <= coeffListForI_1.size() - 2; j ) {
coeffListForI.add(coeffListForI_1.get(j) coeffListForI_1.get(j 1));
}
coeffListForI.add(1);
triangle.put(i, coeffListForI);
}
return triangle;
}
} Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 8 Companies Q39. What is cluster ?
This question was recently asked at 'idealake information technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q40. Differentiate osi and tcp/ip models and describe them Networking
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q42. What is size of structure in c ? C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q43. What are reference variables in c C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q44. Explain memory allocation and deallocation. C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies