Interview Questions and Answers for 'Logica' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 2796 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers for 'Logica' - 4 question(s) found - Order By Newest

  Q1. Explain static blocks in Java ?Core Java
Anonymous
Ans. A static initialization block is a normal block of code enclosed in braces, { }, and preceded by the static keyword. Here is an example:

static {
// whatever code is needed for initialization goes here
}

A class can have any number of static initialization blocks, and they can appear anywhere in the class body. The runtime system guarantees that static initialization blocks are called in the order that they appear in the source code.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   oops   static   static block     Daffodil  Visa Inc  Logica  DataMetica  Tech Mahindra  Nagarvision      basic        frequent


Related Questions

  How can we run a java program without making any object?
  Similarity and Difference between static block and static method ?
  How can we create objects if we make the constructor private ?
  Is it possible to compile and run a Java program without writing main( ) method?
  Will the static block be executed in the following code ? Why ?
  Will static block for Test Class execute in the following code ?
  Can we initialize member variables within static block ?
  How can we execute a Java class independently if it doesn't have a static main method ?


 Q2. What is CRUD ?Database2016-06-13 10:34:03

Ans. CRUD stands for "Create, read, update and delete" are the basic functions of persistence.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     CRUD  Persistence  Database  Database Operations     Logica  JP Morgan  FastPay      Basic        frequent


Related Questions

  What is database deadlock ? How can we avoid them?
  What things you would care about to improve the performance of Application if its identified that its DB communication that needs to be improved ?
  If you are given a choice to implement the code to either Insert a Record or Update if already exist, Which approach will you follow ?
 What is ACID ?
  What is the use of @GeneratedValue annotation in Hibernate?
  What is a Cursor ?
  What are temp tables ?
  Does SQL allow null values ? Can we use it within Where clause ?
  Write an SQL to find all records having all upper case alphanumeric characters in a field ?
  Write an SQL to find all records having all numeric characters in a field ?


 Q3. What is the difference between && and & in Java ?Core Java2017-02-03 08:30:47

 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     operators  logical vs bitwise operator


Related Questions

  What are different ways of object creation in Java ?
 What is the difference between the following two code lines ?

1. new OuterClass().new InnerClass();

2. new OuterClass.InnerClass();
 What is instanceOf operator ? Explain it's use ?
  According to Java Operator precedence, which operator is considered to be with highest precedence?
  Difference between new operator and Class.forName().newInstance() ?
  Difference between Class#getInstance() and new operator ?
  What is the difference between >> and >>>?
  Which Java operator is right associative?
  In which cases isn't instanceof operator a bad practice?
 Difference between prefix and postfix increment operator ?


 Q4. Which of the following is equivalent to following logic ?

Not X && Not Y
Core Java
a. x || Y
b. Not(X || Y)
c. Not(X && Y)
d. Not X && Y

Ans.b. Not(X || Y)



Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: