PROGRAMMING
LANGUAGE: [Java]
Java is a programming
language and a platform. Java is a high-level, robust, secured, and
object-oriented programming language.
- What is the platform in java programming?
Any hardware or software
environment in which a program runs is known as a platform. For example, since Java has its
own runtime environment (JER) and (API), it is called a platform.
Object-oriented programing is
a paradigm that provides many concepts such as inheritance, data, binding,
polymorphism, etc.
Java string provides many
concepts that can be performed on a line, such as compare, concat, equals, split,
length, replace, compare, substring, etc.
The Java inner class or nested
class is a class, i.e., declared inside the ort interface. We use inner
classes to logically group classes and interface in one place to be
more readable and maintainable.
The java regex or regular
expression is an API to define patterns for searching or manipulating strings
such as passwords and email validation. After learning the java regex tutorial, you
will test your own regular expressions with the java Regex Tester
Tools.
- Exception Handling in Java
The exception handling in
Java is one of the powerful mechanisms to handle the runtime errors so that the normal flow of the application can be maintained. We will learn
about java exceptions, their types, and the differences between checked and
unchecked exceptions on this page.
Multithreading in Java is a
process of executing multiple threads simultaneously. Thread is basically a
lightweight sub-process, the smallest unit of processing. Multiprocessing and multithreading both are
used to achieve multitasking.
Synchronization in Java can control the access of multiple threads to any shared
resources. Therefore, Java Synchronization is a better option where we want to allow only
one thread to access the shared resources.
- Java I/O (input & output)
Java I/O (input and output)
is used to process the information and produce the output based on the input. Java
uses the concept of the stream to make I/O operation fast. The java.io package
contains all the classes required for input and output operations.
Serialization in Java is a
mechanism of writing the state of an object into a byte stream. It is mainly
used in Hibernate, RMI, JPA, EJB, JMS technologies. The reserve operation of
serialization is called deserialization.
Java Networking is a concept
of connecting two or more computing devices together to share
resources. Java socket programming provides a facility to transfer data between
different computing devices.
Java AWT (Abstract windowing
toolkit) is an API to develop GUI window-based applications in Java. Java AWT
components are platform-dependent, i.e., components are displayed according to
the operating system's views. Moreover, AWT is a heavyweight, i.e., its components use a system's resources. The Java. awt package provides AWT API
such as TextField, Label, TextArea, RadioButton, CheckBox, Choice, list, etc.
The Layout Manager is used
to arrange components in a particular manner. Layout Manager is an interface implemented by all the classes of layout managers.
The applet is a program embedded in the webpage to generate dynamic content. It
runs inside the browser and works on the client-side.
Java Reflection is a process of examining or modifying the
run time behavior of a class at run time. The Java. lang. The course provides many
methods that can be used to get metadata and examine and change a class's run time behavior.
The Java. util, java.sql and
Java. The text package contains classes for representing date and time. Following
courses are essential for dealing with data in Java.
We can convert string to int
In Java using an integer.parent() method
Collections in Java is a
framework that provides an architecture to store and manipulate a group of
objects. All the operations you perform on data, such as searching,
sorting, insertion, manipulation, deleting, etc., can be achieved by java
collections. Java collections simply mean a single unit of objects. Java collection
framework provides many interfaces (Set, List, Queue, Deque, etc.) and classes
(ArrayList, Vector, LinkedList, priority queue, HashSet, LinkedHashset, TreeSet, etc.).
Java JDBC is a Java API to connect and execute
queries with the database. JDEC API uses JDBC drivers to communicate with the
database.
Many new features have been added in Java. In addition, there is a significant enhancement made in java5, java6, and 7 like auto-boxing, generics, var-args, java annotation, enum, premain
method, etc.
- RMI (Remote Method Invocation)
The RMI is an API that
provides a mechanism to create a distributed application in Java. The RMI allows
an object to invoke methods on an object running to another JVM.
- Internationalization and Localization
Internationalization is also
abbreviated as I18N because there are 18 characters between the first
letter "I" and the last letter "N." Localization is also abbreviated as I10N. After all, there are 10 characters between the first letters "L" and the previous letter
"N." Localization is the mechanism to create such an application that can be
adapted to a specific language and region by adding locale-specific text and component.
Post a Comment