Object Oriented Software Engineering   View all facts   Glossary   Help
subject > component > module > Java module > Java method > Java class method > toHexString
Next Java class methodisDigit    UpJava class method    Previous Java class methodparseInt   

toHexString
subjectfact 
toHexStringhas example
// converts to hexadecimal 
intString s = Integer.toHexString(anInt);
link: chapter2section2.8.html#635, 2001-08-30 14:58:03.0
has purpose to convert an int to hexadecimallink: chapter2section2.8.html#635, 2001-08-30 14:58:03.0
is a subtopic of The Basics of Java2001-08-30 14:58:03.0
is an instance of Java class methodlink: chapter2section2.8.html#633, 2001-08-30 14:58:03.0
Java class methoddoes not have 'this' value when it is executing2001-08-30 14:56:10.0
is called by using the name of the class, followed by a dot, followed by the name of the method (the name of the class can be omitted when calling a class method in the current class)2001-08-30 14:56:10.0
is marked as static2001-08-30 14:56:10.0
class methodshould not be overused2001-08-30 14:54:52.0
Java methodcan be accessed by other methods and variables in any class in the same package by default2001-08-30 14:56:16.0
overrides a method in a superclass with the same name2001-08-30 14:56:16.0
should be as private as possible2001-08-30 14:56:16.0
should not be public except for those that will definitely need to be called from outside the package2001-08-30 14:56:16.0
should return to its caller from only one place which should be the last statement2001-08-30 14:56:16.0
procedural abstractionhas advantage when using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computes2001-08-30 14:57:04.0
hides the details of procedures2001-08-30 14:57:04.0
procedureprovides procedural abstraction2001-08-30 14:57:04.0
modulehas high cohesion if related aspects of a system are kept together in this module, and unrelated aspects are kept out2001-08-30 14:56:38.0
is implemented2001-08-30 14:56:38.0
lacks side effects if it does not modify any data, and does not leave behind any information, other than its result, that would have an effect on other computations2001-08-30 14:56:38.0
componentmay perform a special-purpose function such as the user interface for a particular system2001-08-30 14:55:00.0

Next Java class methodisDigit    UpJava class method    Previous Java class methodparseInt