Blog about Java, Programming, Spring, Hibernate, Interview Questions,Tech News,Programming News

java interview question with company name, for freshers,for experience, java, interview material,spring questions,hibernate questions,Latest Tech News,Latest Programming News,

Subscribe Us

LightBlog
Responsive Ads Here

Translate in Your Own Language | अपनी खुद की भाषा में अनुवाद करें

Sunday, February 28, 2021

Java Interview Questions ask by Companies(IRIS,Yantriks,To the New,DXC,Ebsavvy) for 2 years and 2+ years Experience.

 Java Interview Questions ask by Companies(IRIS,Yantriks,      To the New,DXC,Ebsavvy) for 2 years and 2+ years Experience.




Java Interview Questions asked in IRIS Software(18 java question)

1) Is Java pass by value or pass by reference.

Ans:-   java is always pass-by-value

         (just remember that variables are references or pointers and its copies are passed to the                                      methods,)

2) Convert jumbled month list to ordered list as they appears .

3) Return string from the list of string whose length is greater than 4? 

4) Is it possible to call two static methods from two different threads. 

5) Difference between Encapsulation and Data hiding.

6) Print following pattern:-

******

****

***

**

*

7) Why do we use interface ?

8) What is ConcurrentHashMap and how does it work ?

9) What is immutable class and how to create it ?

10) How to create HashMap as synchronized ?

11) How many threads can be run in 4 cpu ?

12) What is front controller in spring ?

13) Spring MVC architecture?

14) What is indexing and how to use it ?

15) How stream api works and what is the use of it

16) What is lambda expression

17) Some questions asked from java 8

18)Can we store user defined object as key in hashMap 

19) What is complexity and how to find it ?


5 java interview Questions asked in Yantriks Question (5 java Questions)

1) @Profile annotations in spring boot 21) Reactive programming

2) Transaction and locking in mongodb

3) RequestParam vs ApiParam

4) Map vs FlatMap and streams in java 8.

5) [-2,-1,1,-5,1,7,-4] largest sum subarray. 26) Permutations of a String .


java interview Questions asked in To the New(6 Questions)

1) @Component vs @Repository

2) @RestController -> is json by default or can we change the output except json 29) Second highest salary from db

3) Concurrent hashmap and hashmap

4) get() and load() hibernate.

5) can we change the return type in overriding.

6) Caching in hibernate

7) @Configuration

8) OOPs Concept

9) nullable = false in @Column vs @NotNull


java interview Questions asked in DXC(16 Questions)

1) Merge and update in hibernate

2) @Scope annotation Syntax for prototype scope

3) Spring data jpa

4) Make a rest controller

5) Hashmap working

6) Hashmap and hashset

7) Spring-boot lifecycle

8) Checked and unchecked exception

9) Custom exception

10) Overriding priority using null also

11) Checked exception using overriding

12) Collection vs collections

13) Collection in java 8

14) Method reference in java 8

15) Static block vs instance block.

16) Static method reference vs instance method reference.


java interview Questions asked in Ebsavvy

1) How to parse xml in java.

2) Dynamic entity creation from xml file using hibernate.

3) Sum all the value of employee class using java 8.

4) How to make singleton class synchronized.

5) Design patterns.

6) Microservice architecture.


2 comments:

Anonymous said...

Nice Collection

gaurav said...

helpfull,great