DML (Data Manipulation Language) DDL (Data Definition Language) DML is abbreviation of Data Manipulation Language. DML statements are used to work with the data in tables. When you are work in multi-user databases, we are in effect of working with Read More …
Blog
What is difference between abstract class and interface?
Abstract class Interface 1) An abstract class can have method body (non-abstract methods). Interface have only abstract methods. 2) An abstract class can have instance variables. An interface cannot have instance variables. 3) An abstract class can have constructor. Interface Read More …
Top 20 Important GK Questions for competitive Exams
1. Lending her name to a famous brand, who was the Greek Goddess of Victory? Answer : Nike 2. From what port did the Titanic set sail on its fateful voyage? Answer: Southampton 3. What is the capital of Thailand? Read More …
GK Objective type Questions with answers Latest update
1. Which of the following is the correct full form of KISAN in the KISAN Project launched recently? A) Crop Insurance using Space technology And geoiNformatics B) Kisan Insurance using Space technology And geoiNformatics C) Cluster Insurance using Space technology Read More …
How to Prepare For SSC CGL Exams Most Important Tips to make you Score More
SSC CGL (Common Graduate Level) exam is one of the popular exams in India . every graduate want to qualify it as it opens the door of success for them. But as everybody knows the exam is tough and so as Read More …
What is Variable and Types of variable in Java ?
Variable : is name of reserved area allocated in memory. for ex. int data=50; // here data is variable Types of Variable : Local variable Instance variable Static variable Local variable : declared inside the method . Instance variable : declared inside Read More …
Program to check Prime Numbers in Java (Java Code)
package flizz; /** * * @author Abhay */ public class CheckPrime { public static void main(String args[]){ int i,m=0,flag=0; int n=17;//it is the number to be checked m=n/2; for(i=2;i<=m;i++){ if(n%i==0){ System.out.println(“Number is not prime”); flag=1; break; } } if(flag==0) System.out.println(“Number Read More …
What is Data Type in Java ?
A Data Type in programming language is a set of data with values having predefined characteristics. There are mainly two types of Data Type : Primitive Data Type Non-primitive Data Type Primitive Data Type : boolean 1-bit char 2-bytes byte 1-byte Read More …
What is Java Virtual Machine (JVM) ?
JVM stands for Java Virtual Machine . JVM is an abstract computing machine that enables a computer to run a Java program. JVM perform following main tasks : Loads Code Verifies Code Executes Code Provides runtime environment A specification where working Read More …
What is the difference between final , finally and finalize ?
There are so many differences between final , finally and finalize in java language. important differences are given below Final Finally Finalize It is a Keyword It is a Block It is a Method It is used to apply restrictions Read More …