• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

To read a class file from package

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
I want to read a class file from a package
for example package name is "java.lang"
how to read the class file in the package java.lang
suggestion please
Thank you
Ravi
ravidis@usa.net
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I don't know why you want to specifically read from "java.lang.*", 'coz you don't have to inculde it in your programs. The package "java.lang.*" is automatically included in your programs, irrespective of whethre you want it or not.
------------------
Nitin S
 
ravidis
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Nitin Shivaram
Thank's for you response
I tried all ways to read a package
consider it java.lang.*;
How to read the class file in the package
excepting your reply or suggestion please
thanks
ravi
ravidis@usa.net

 
Nitin Shivaram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ravi,
I don't think you got my reply the last time. Tell me what exactly do you mean when you say "read a class from java.lang.*"??

------------------
Nitin S
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ravidis,
Please refer to Java Ranch's naming policy. You need to register a new account name with a first and last name. Thanks.
Sean
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This describes how to get the source code if you feel that you REALLY have to read it. The API is supposed to be there to prevent you from needing to read the actual code;
http://www.javaranch.com/ubb/Forum33/HTML/001368.html
The API: http://java.sun.com/products/jdk/1.3/docs/api/index.html
 
The first person to drink cow's milk. That started off as a dare from this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic