As far as I know, keywords are part of the implementation of Java, and cannot be defined or redefined.
You can find a list of Java keywords in the Wikipedia article "List of Java keywords". These keywords may not be used for variables or other user-defined names.
As of Java 1.5, there are 50 keywords defined, 48 of which are used (const and goto are unusable keywords).abstractcontinuefornewswitchassertdefaultgotopackagesynchronizedbooleandoifprivatethisbreakdoubleimplementsprotectedthrowbyteelseimportpublicthrowscaseenuminstanceofreturntransientcatchextendsintshorttrycharfinalinterfacestaticvoidclassfinallylongstrictfpvolatileconstfloatnativesuperwhile
There is 48 reserved keywords currently defined in the java language. These keywords, combined with the syntax of the operators and separators,form the definition of the java language. these keywords can't be used as names for a variable,class or method. (chandramohan singh)
A user defined package is a package outside of the standard Java libraries.
No. It is a user defined function which the person who is creating the java class has to code by himself.
String - is primitive data typestring - is user defined data type
Java Classpath is a parameter that tells the Java Virtual Machine or the Java Compiler, where to search for user-defined classes and packages on a computer.
Yes a user defined exception can have any number of methods in it. A user defined exception is nothing but a Java class created for a specific purpose. Just like ordinary Java classes, you can have any number of methods in it...
1.user defined packages 2.predefined packages
uppercase
True and false are literals(special built-in value) in java and cannot be used as keywords.
A built-in class is one that is provided by the Java vendor (those that follow the Java specifications will have at least the ones mentioned by the Java Documentation), while a user-defined class is one that is written by any third-party developer (either a library that a developer is using, or the code written by the developer themselves). You can easily identify which code is which by looking at the package name: java.*, sun.*, and javax.* namespaces are all built-in classes, while com.* namespaces are user-defined classes.