How do you escape in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Difference between object instantiation and construction ?

0 Answers  


How can you read an integer value from the keyword when the application is runtime in java? example?

0 Answers   HCL,


If goto and const is reserve words than why it is not work in java?

0 Answers  


What is scope & storage allocation of static, local and register variables? Explain with an example.

0 Answers   IBS,


Which keyword specify that a variable is effectively final ?

0 Answers  






In case of inheritance what is the execution order of constructor and destructor?

0 Answers   Agilent,


diffrence b\w println() and printf()

8 Answers   NIIT,


Does sprintf allocate memory?

0 Answers  


What is an example of character?

0 Answers  


what is difference between requestprocessor and request dispatcher?

2 Answers   Tech Mahindra,


hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


write java code to print second max number in the array

12 Answers   Huawei, IBAB,


Categories