What are annotations? What are assertions? why they are used
why not if-else?? what is normalization? what is QuickSort?
what are Avl trees?



What are annotations? What are assertions? why they are used why not if-else?? what is normalizatio..

Answer / Pinkey Kumari

"Annotations in Java are a form of metadata that provide additional information about code elements, such as classes and methods. They can be used for various purposes like documentation, configuration, or controlling compilation behavior. Assertions are a built-in feature in Java that allows developers to specify conditions within the code that should always be true at runtime. If an assertion fails, an exception is thrown. While if-else statements can also be used to check conditions, assertions provide a more explicit way of expressing expectations and make debugging easier. Normalization is a process in database design aimed at organizing data into tables with a minimal number of rows and avoiding redundancy. It simplifies data management by making relationships between tables more straightforward and efficient. Quicksort is a popular sorting algorithm that uses divide-and-conquer strategy to sort an array. AVL trees (Adelson-Velsky and Landis trees) are self-balancing binary search trees, which ensure that the height of the left and right subtrees differs by at most one."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

What are saw filters used for?

1 Answers  


sir,i am a 3rd yr student of computer engineering. i need atleast 10 previous year's placement papers of hcl,infosys & wipro. please send me these papers as early as possible.thanx for giving me your precious time.

0 Answers  


What are your short and long term goals?

1 Answers   Jindal,


There are n points and each point enclose with x and y axis form a rectangle and find the point using a program which forms the smallest rectangle?

1 Answers  


what is far pointer?

1 Answers  


could u please tell me where the click view tool coaching in hyderabad

1 Answers  


how to join two table those stored on different database.

1 Answers  


Bird is flying 120 km/hr between B to R. Two trains at B to R at 60 kmph. The distance traveled by the bird before it is killed?

3 Answers   IBM, L&T,


Hi i was appered the ISRO written test conducted on 26-Apr- 2009. I want to know the date of results. Please anyone tell me the date

2 Answers  


UST RIL MAR BER UNE ARY ?Choose the odd one out

7 Answers   Infosys,


hi,i came to US to pursue my masters in computer information technology.Can i do my masters the first 6months in US and the rest 9 months course from INDIA through online education

1 Answers  


4. What is your typical way of dealing with conflict?

1 Answers   Strad Energy,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)