User defined methods in java: Functions are called methods in java. Like in C, java programming has similar user defined methods. There are basically four types of user defined methods. They’re: Methods with parameter and with return type Methods with parameter and without return type Methods without parameter and with return type Methods without parameter
Break and continue statement in java : Like goto statement in c, there is break and continue statement to transfer control in the program. Whenever certain condition matches in the code, you may won’t to transfer your code’s flow to some other parts of the code. In such scenario, we use break and continue statement.
In late 1970’s brilliant minded Joy thought of designing a programming language combined the best features of MESA and C. While rewriting the UNIX operating system he felt C++ was lacking the quality required for him to do his task. A too was needed for writing effective codes. This flame and desire led to the
In this tutorial, I’ve created simple maven web application to send email using gmail or any other mail. I’ve used JSF for frontend. Make sure you’ve installed glassfish server before beginning. You can download and install glassfish server from this. When you’re done, you’ll get something like this : First of all, create a
Here we are going to develop Simple application using Java Collection Framework. Before you begin with this tutorial, make sure you’ve gone through previous_tutorial. In this tutorial, I’ve built simple console application that demonstrate how you can use collection in your project. When you’re done with this tutorial, you’ll have something like this: Simple application
Hello World! It all start from here. So lets start the journey by writing a program to print hello world. Open your favorite IDE. Go to File -> New Project 2. Select Maven in categories -> Java Application in Projects. You can read this blog to know about maven. 3. Give you project
The Java Collections Framework is a set of classes and interfaces that implement commonly reusable collection data structures. A collection, as its name implied, is simply an object that holds a collection (or a group, a container) of objects. Each item in a collection is called an element. A framework, by definition, is a set of interfaces that force you
Lear JAVA from Basics Lets Start from Basic Concepts: What is Java? Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable.
In this tutorial, we will learn how to build enterprise application with EJB, JPA, JSF and create EJB CRUD Application. The application also include the use of various richfaces tags, sorting and filtering. Learn how to build enterprise application. Final Output Your project structure will look like this. Okay, let’s start with Glassfish configuration. Inside JDBC
What is an SSL Certificate? SSL stands for Secure Sockets Layer and, in short, it’s the standard technology for keeping an internet connection secure and safeguarding any sensitive data that is being sent between two systems, preventing criminals from reading and modifying any information transferred, including potential personal details. SSL encrypts and ensures the authenticity