31.What is the difference between variable declaration and variable definition? Declaration associates type to the variable whereas definition gives the value to the variable.
Interview Questions and Answers For Freshers
- GoInterview Questions and AnswersTechnical Interview Questions and Answers
- GoInterview Questions and AnswersTechnical Interview Questions and Answers
Go Interview Questions and Answers For Freshers Part-3
by Sby S21.What is the default way of passing parameters to a function? By default, Go uses call by value to pass arguments. In general, this means that code within a function …
- GoInterview Questions and AnswersTechnical Interview Questions and Answers
Go Interview Questions and Answers For Freshers Part-2
by Sby S11.Can you declared multiple types of variables in single declaration in Go? Yes Variables of different types can be declared in one go using type inference. var a, b, c …
- GoInterview Questions and AnswersTechnical Interview Questions and Answers
Go Interview Questions and Answers For Freshers Part-1
by Sby S1.What is Go? Go is a general-purpose language designed with systems programming in mind.It was initially developed at Google in year 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. …
-
41.What ACID stands for? ACID stands for Atomic, Consistent,Isolated and Durable.
-
31.How EJB implements dependency injection? EJB 3.0 specification provides annotations which can be applied on fields or setter methods to inject dependencies. EJB Container uses the global JNDI registry to …
-
21.What is Callback in EJB? Callback is a mechanism by which life cycle of an enterprise bean can be intercepted. EJB 3.0 specification has specified callbacks for which callback handler …
-
11.Explain @javax.ejb.Stateless annotation. @javax.ejb.Stateless annotation specifies that a given ejb class is a stateless session bean.Following are its attributes: name – Used to specify name of the session bean. …
-
1.What is EJB? EJB stands for Enterprise Java Beans. EJB is an essential part of a J2EE platform. J2EE platform have component based architecture to provide multi-tiered, distributed and highly …
- Design PatternInterview Questions and AnswersTechnical Interview Questions and Answers
Design Pattern Interview Questions and Answers Part-5
by Sby S41.is Visitor pattern? In Visitor pattern, we use a visitor class which changes the executing algorithm of an element class. By this way, execution algorithm of element can vary as …