Series: Subject: Topic:
Question: 235 of 360

What is magic word in java? and How to find it?

Ca fe ba be

when u open any .class file.u can see first 4 characters.u have read those characters from the class file and convert those characters into Hexadecimal using toHexString method in Integer wrapper class.
Asked by: Interview Candidate | Asked on: Jul 4th, 2006
Showing Answers 1 - 3 of 3 Answers
Narasimha Rao Konjeti

Answered On : Jul 6th, 2006

As I have understood Java in my last 7 years of experience, Magic Words are deprecated reserved (key) words.
Why do we call it as Magic Word is that reserved is no more in the language, but still compilers recognises it.
For example. If you take goto, const reserved words in Java, these two are no more, but compiler recognises, why because, VM should run the old code. That is, it is there with VM. So that soft of words are called "Magic Words".Regards-Narasimha Rao Konjeti.

Login to rate this answer.

Answered On : Jul 6th, 2006

Login to rate this answer.

Answered On : Aug 16th, 2006

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Question Categories

Core Java Interview Questions

EJB Interview Questions

Hibernate Interview Questions

Java Interview Questions

Java Classes Questions

Java Patterns Interview Questions

Java Swing Interview Qustions

JDBC Interview Questions

JMS Interview Questions

JSP Interview Questions

Java OOPS Interview Questions

Ruby Interview Questions

Servlets Interview Questions

Spring Interview Questions

Struts Interview Questions

Websphere Interview Questions

Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.