How do you escape in java?



How do you escape in java?..

Answer / Ganesh Singh Bora

In Java, to include special characters such as double quotes, backslashes, and tabs within strings, you can precede them with a backslash (). For example, to insert a double quote within a string, use ".

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain different data types in Java.

5 Answers  


How is the marker interface used in Java?

1 Answers   BirlaSoft,


What is qualitative variable?

1 Answers  


Why do we need array in java?

1 Answers  


If you are given the name of the function at run time how will you invoke the function?

1 Answers   Adobe, Yahoo,


Are true and false keywords?

1 Answers  


What is class forname?

1 Answers  


What modifiers are allowed for methods in an interface?

1 Answers  


What is lexicographically smallest string?

1 Answers  


Explain reverse a linked list iterative solution in java?

1 Answers  


What is meant by bytecode?

1 Answers  


"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.

2 Answers  


Categories