Switch Statement in Java

What is a Switch Statement? java switch statement in Java is used to execute one block of code among multiple alternatives based on the value of a variable. It is an alternative to using multiple if-else conditions. public class Switch1 { public static void main(String[] args) { int x=3; switch(x) { case 0: System.out.println(“0”); break; […]

Switch Statement in Java Read More »

Loops in java

Loop are use to print the block of code data again by again.In Java Consist of 3 Loops. 1.for loop 2.while loop 3.do while loop for loop Public class Loop1{ public static void main(String[] args) { for(int x=1; x<10; x++) { System.out.println(x); } } } Output 1 2 3 4 5 6 7 8 9

Loops in java Read More »

Search using Java MongoDb

In this tutorials will  teach you Java connect with MongoDb Database with Swing Application.MongoDb is a NOSQLdatabase.how to do the simple Search connect with MongoDb Database teach step by step here.How  to connect java in to MongoDb Database. Establish the database Connection with Java and MongoDb Database First Install the mongodb and robo mongo i

Search using Java MongoDb Read More »

Registration Form using Java MongoDb Database

In this tutorials will  teach you Java connect with MongoDb Database with Swing Application.MongoDb is a NOSQLdatabase.how to do the simple registation form connect with MongoDb Database teach step by step here.How  to connect java in to MongoDb Database. Establish the database Connection with Java and MongoDb Database First Install the mongodb and robo mongo

Registration Form using Java MongoDb Database Read More »

Operators in Java Programming

There are 4 Operators in Java Programming Arithematic operators Logical operators Assignment operators Relational operators Incremental, Decremental operators Arithematic Operators [su_table] + Addition – Subtraction * Multiplication / Division % Modulus [/su_table] Example 1 public class Arithematic { public static void main(String[] args) { int x; int y; x =50; y=6; System.out.println(x + y); System.out.println(x

Operators in Java Programming Read More »

Why Java become best programming language

Why Java become best programming language 1.Platform independent 2. Object Oriented 3.Robust 4.Distributed 5.Multithreded 6.Networking 7.Reliable 8.Mulitithreded 9.Easy to Learn 10.Architecture neutral Java is Case sensitive programming language. What are the best Editor for use to write the Java Programming 1.Intellij idea 2.Eclipse 3.Netbeans ide As a Beginner i recommend to start the Java journey

Why Java become best programming language Read More »