Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is there any need to import java.lang package?

Answers were Sorted based on User's Feedback



Is there any need to import java.lang package?..

Answer / venkataanjaneyulu.sudireddy

Cloneable
Runnable

Is This Answer Correct ?    0 Yes 1 No

Is there any need to import java.lang package?..

Answer / navneet raushan

Hi Rakesh .. I m writing the code
import java.lang.reflect.*;

public class DumpMethods {
public static void main(String args[])
{
try {
Class c = Class.forName(args[0]);
Method m[] = c.getDeclaredMethods();
for (int i = 0; i < m.length; i++)
System.out.println(m[i].toString());
}
catch (Throwable e) {
System.err.println(e);
}
}
}

Is This Answer Correct ?    2 Yes 4 No

Is there any need to import java.lang package?..

Answer / rakesh

navneet can u justify your ans with example plzzzz.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Core Java Interview Questions

what do you meant by Platform-Independent?

6 Answers   Persistent,


How will you call an Applet using Java Script Function?

0 Answers  


What is methodological theory?

0 Answers  


In what types of operations an ArithmeticException will be thrown?

3 Answers  


Explain the overview of UDP messaging.

0 Answers  


What do you mean by scope of variable?

0 Answers  


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

0 Answers   HCL,


Is java an ide?

0 Answers  


why HashTable not allow null key and value

2 Answers   Crimson Logic,


What are anonymous inner classes?

0 Answers  


How will you measure that int takes up only 32 bits in memory?

2 Answers   Rolta,


How can you read content from file in java?

0 Answers   HCL,


Categories