Exceptions in java is the way of indicating the occurrence of abnormal condition in the program. Actually, these are objects that are thrown when program encounters any problem executing the program further.
Java integer to string
Many times we need to convert a number to a string to be able to operate on the value in its string form. Converting numeric values to Strings with Java is very easy.
Java Integer class
Java provides wrapper classes corresponding to each primitive data types in its "lang" package. These classes represent the primitive values as objects offers utility methods to manipulate the values.
Java comes in different editions JSE (Java Standard Edition), JEE (Java Enterprise Edition), JME (Java Micro Edition). Beginners should try start java programming with JSE. For this, you need to download, install and configure the JSE development environment.
This class of java in "java.net" represents an Internet Protocol (IP) address. InetAddress class is used to create and manipulate IP objects. It does not have a public constructor.
Java if else
The if-else statement is one of the widely used control flow statements while programming. It lets the program execute a set of statements enclosed within the "if" block only if the certain condition evaluates to true otherwise program executes statements of "else" block. So it provides the facility to the programmer to handle the condition based programming.
and Directory Interface
The Java Naming and Directory Interface (JNDI) is a directory service based API to allow the clients to discover and lookup data and objects via a name.
Java Remote Method Invocation
The Java Remote Method Invocation API, is application programming interface that performs the object equivalent to remote procedure calls. There are two common implementations of the API.
Java Remote Interface
Remote interface identifies
interfaces whose methods may be invoked remotely from a non-local virtual
machine. Any remote object must directly or indirectly implement this interface.
Include directive vs Include Action
Include directive (<%@ include %>) includes file into the JSP page at compile time. Include directive should be used if the included code is in the same page.
Java for Internet Explorer
In this article we are taking Windows as the operating system and web browser as Internet Explorer 7.
JSP Implicit Objects
Implicit objects in jsp are the objects that are created by the container automatically, we do not need to create them explicitly. Since these objects are created automatically therefore these are known as the implicit objects.
Introspection is the automatic process that analyzes the design pattern of a bean in order to reveal bean's properties, events, and methods. This process is used to control publishing and discovery of bean operations and properties.
In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically.
An import is the attribute of the page directive in
imports the java packages and it's classes whenever required for the page. More than one java packages and classes can also be imported by separating with comma (,).
A JSP page can include page fragments from other files to form the complete response. There are two include mechanisms: the include directive and the include action.
The if Keyword
The if is a keyword, which is used to perform the selection statement. It is used to execute the statements after evaluating the condition specified in it as true. When the condition is true, the code in the "if" block is executed.
The implement keyword
In java programming language, the keyword implement specifies that the given class implements an interface. Keywords are basically reserved words which have specific meaning relevant to a compiler.
The import keyword
The import statement make available one or all the classes in a package to the current source file. Keywords are basically reserved words which have specific meaning relevant to a compiler.
The instanceof keyword
The keyword instanceOf in java programming language is a boolean operator that is used to test whether an object is of an specified type or not and returns the value accordingly. Keywords are basically reserved words which have specific meaning relevant to a compiler.
The interface keyword
In java programming language the keyword interface in java is used to declare and define an interface. Keywords are basically reserved words which have specific meaning relevant to a compiler.
The int keyword
The int is a keyword in java that is used to define 32-bit signed integer (primitive type) values. Keywords are basically reserved words which have specific meaning relevant to a compiler.
Inner Classes In Java
Inner classes provides an elegant and powerful feature to the Java programming language.
Recommend the tutorial