How does java pattern compile work?



How does java pattern compile work?..

Answer / Aditya Nand Modanwal

In Java, patterns are used for matching and extracting information from strings using the java.util.regex package. During compilation, a pattern is translated into an internal data structure (called a finite automaton) that can efficiently search the given string.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is aggregation?

1 Answers   Cap Gemini,


Which types of exceptions are caught at compile time?

1 Answers  


How do you take thread dump in java?

1 Answers  


How to declare objects of a class ?

1 Answers   Akamai Technologies,


what is collatration?

1 Answers  


What are different types of encoding?

1 Answers  


How to disable caching on back button of the browser?

1 Answers  


What are locale settings?

1 Answers  


How many types of methods are there in java?

1 Answers  


when,where and how to use abstract class and interface

2 Answers  


What is multithreading and its advantages?

1 Answers  


Java does not support multiple inheritance. how interface helps in the same?

5 Answers   TCS,


Categories