12-08-2010
Here class X is in default package (actually called unnamed package) and class Y is in a named package (ypkg). An unnamed package class can't be imported in any other package. To import a class in some other named package, that class has to be in some named package.
So you can put class X in some package and then import it.
Classes in unnamed package can ONLY be used by other classes in unnamed package. They are visible to other members of the unnamed package since they
are in the same package, but they are not visible to compilation units in
other packages.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
some questions please :
1- what does do instfix ?
2- what does lslpp -l ?
3- how to verify JDK version on a UNIX server (AIX) ?
Many thanks before. (2 Replies)
Discussion started by: big123456
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I try to find the file jdk-1.3.1_03-fcs.rpm (pre-requisite for Oracle Applications 11.5.8) for Linux x86 but it doesn't available anywhere...
Maybe here, somebody have it ? :o
Rgds (1 Reply)
Discussion started by: madmat
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to install JDK (Java Development tools) and i get this:
WARNING:
The <SUNWj6dev> package "JDK 6.0 Dev. Tools (1.6.0)" is
a prerequisite package and should be installed.
WARNING:
The <SUNWj6rtx> package "JDK 6.0 64-bit Runtime Env.
(1.6.0)" is a prerequisite package and should be... (0 Replies)
Discussion started by: idan_cn
0 Replies
4. Shell Programming and Scripting
Hi,
I need a shell script that would do silent installation of jdk on a linux machine.
Can anyone help me with this?
Thanx
Sunny (6 Replies)
Discussion started by: eamani_sun
6 Replies
5. Solaris
hi all i tried to install jdk on solaris 10 2008 and i used these packages in installation
pkgadd -d SUNWj5cfg SUNWj5dmo SUNWj5dev SUNWj5rt SUNWj5jmp SUNWj5man
all was good except one (SUNWj5rt)
some of the output
ERROR: attribute verification of... (3 Replies)
Discussion started by: maxim42
3 Replies
6. Solaris
How to install the jdk 1.6 in the solaris sparc 10 64bit. Any patch is required for jdk 1.6 for solaris (2 Replies)
Discussion started by: saktiviji
2 Replies
7. Solaris
Current platform: Sun OS 5.9 Solaris
isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
Problem: Fail to start tomcat server
ps -ef | grep tomcat
nothing displays...
Steps:
Installed jakarta-tomcat-5.0.30
Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies
8. Ubuntu
Hello,
I have installed the default JDK from Software centre, but when i type whereis JDK on the terminal.. i don't see any path :mad:
i need JDk to install a tool ... Hurry!!! please HELP:confused::confused: (4 Replies)
Discussion started by: paramad
4 Replies
9. Programming
I just downloaded jdk, but am unsure about updating the PATH variable.
What steps should I follow ? Evidently I have to/prefer to be logged in as root to
install jdk on my UBUNTU 10.04 linux.BTW, this question needs to go in another
forum, but out of disuse I have forgotten my root... (1 Reply)
Discussion started by: sundaresh
1 Replies
10. HP-UX
How can i see if jdk is installed or not on my system. I am on HP UX B.11.31 (3 Replies)
Discussion started by: bang_dba
3 Replies
Error Handling Classes(3) Coin Error Handling Classes(3)
NAME
Error Handling Classes -
Classes
class SoDebugError
The SoDebugError class is the internal debugging message passing mechanism.
This class basically serves two purposes: "
class SoError
The SoError class is the base class for all the error handling classes.
The default error handler just prints messages on the standard error output channel, but this can be overridden by client applications. "
class SoMemoryError
The SoMemoryError class is used to inform of problems with memory allocation.
Modern operating systems takes care of handling most out of memory conditions for you, but in certain situations it can be wise to do some
manual checking and intervention. This class is provided as an aid to help out in these situations. "
class SoReadError
The SoReadError class is used during model import operations.
During model file import, this class will be used to output any error or warning messages. "
Detailed Description
The error classes are static classes that contain a callback pointer for handling errors of the given type. Coin has default handlers for
displaying all the types, but these can be overridden by applications by setting other callbacks.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 Error Handling Classes(3)