Home / Java / Topics
You will find all topics which are added by Java
What are the super most classes for all the streams?
What are the FileInputStream and FileOutputStream?
Why do we need abstract classes in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What do you understand by an IO stream in Java?
What is the difference between System.out, System.err, and System.in?
What is a static variable in Java?
Explain the difference between instance variable and a class variable
What is the default value stored in Local Variables?
What is a Class Variable?
What are the default values assigned to variables and instances in Java?
Differentiate between instance and local variables.
Why do we need wrapper classes?
What is the default value of byte datatype in Java?
Can we declare Pointer in Java?
When a byte datatype is used in Java?
Explain different data types in Java.
What are Packages in Java? Why Packages are used? What are the advantages of Packages in Java?
What will happen if we declare don’t declare the main as static?
What is Java String Pool?
Explain public static void main(String args[]) in Java.
What is Bytecode in the Development Process
What is Java Virtual Machine (JVM)?
Create a method named calc, which accepts an integer (int), a character (char) and one more integer (int), and depending on the character, returns the result
Create a method named greeting, which accepts a string (String) and an integer (int), and display custom output
Write a program that evenly distributes the elements of the array named array among the array1, array2 and array3 In java
Create sqr and cube methods that take an integer (int) and return its square and cube, respectively.
Write a program which triples (*3) every third element, starting with 0, in the existing array named array.
How to reverse a String in java? Can you write a program without using any java inbuilt methods?
Ball Game example In Java
Program to read data from file using FileInputStream and display it on the monitor in Java
Program to read data from keyboard and write it to the file using FileOutputStream in Java
Program to use File class and its methods in Java
Client \ Server program using Socket and ServerSocket class in Java
Write a Client \Server program using DatagramPacket and DatagramSocket class in Java
Program to use URLConnection class in Java
Program to display all parts of URL in Java
Program to Display host name by IP address in Java
Program to create Menu in AWT in Java
Program to explain Dialog class in Java
Program to use GridBagLayout in Java
Program to explain CardLayout in Java
Program to use GridLayout in Java
Program to use Insets in Java
Program to use BorderLayout in Java
Program to use FlowLayout in Java
Program to use Scrollbar AWT control in Java
Program to use List AWT control in Java
Program to use Choice AWT control in Java
Program to use CheckboxGroup ( RadioButton ) AWT control in Java
Program to use Checkbox AWT control in Java
Program to use TextArea AWT control in Java
Program to use TextField AWT control in Java
AWT frame class example in Java
AWT button example in Java
AWT Label example in Java
Program to use Window Event in Java
Program to expain Fucus Event in Java
Program to use MouseAdapter class as a Anonymous Inner class in Java
Program to use MouseAdapter class as Inner class in Java
Program to use MouseAdapter class in Java
Program to explain Key Event with Virtual Key in Java
Program to explain Key Event in Java
Program to explain Mouse Event and Mouse Motion Event in Java
Program to explain Mouse Motion Event in Java
Program to explain Mouse Event in Java
Program to change color using setColor() method in Java
Program to change Font using setFont() method in Java
Program to draw Polygon in Applet using drawPolygon() method in Java
Program to draw Arc in Applet using fillArc() method in Java
Program to draw Arc in Applet using drawArc() method in Java
Program to draw oval in Applet using fillOval() method in Java
Program to draw oval in Applet using drawOval() method in Java
Program to draw rounded rectangle in Applet using fillRoundRect() method in Java
Program to draw rounded rectangle in Applet using drawRoundRect() method in Java
Program to draw rectangle in Applet using fillRect() method in Java
Program to draw rectangle in Applet using drawRect() method in Java
Program to draw line in Frame using drawLine() method in Java
Program to draw line in Applet using drawLine() method in Java
toString() method in spring buffer in Java
subString() method example in stringBuffer in Java
setLength() method example in Java
Use of setCharAt() method in Java
capacity() method example in Java
stringBuffer append example in Java
stringBuffer() example in Java
lastIndexOf() method example in Java
index of() method example in Java
subString() method example in Java
valueOf() method example in Java
trim() method example in Java
toUpperCase() method example in Java
toLowerCase() method example in Java
split() method example in Java
regionMatches() method example in Java
getChars() method example in Java
compareTo() method example in Java
Difference between equals and == operator in Java
equalsIgnoreCase() function example in Java
length() function example in Java String
Java Program to use charAt function in string
Make string using ASCII value in Java
Simple string function example in Java
Simple string example in Java
Initialise 2D array in Java
Jagged array example in Java
Jav Program to find sum of two matrices
Program to find transpose of matrix without using another metrix in Java
Transpose of the array in Java
Matrix of array example in Java
Make 2D array by taking user input through keyboard in Java
Iterate 2D array in Java
Program for Sum of 2D array elements in Java
Merge sort example in Java
Quick sort example in Java
Selection sort example in Java
Insertion sort example in Java
Bubble sort example in java
Fibonacci series using Array in Java
Setup spring application with Configuration file and Annotations Everything from Scratch
Array Example in C++
Program to compare Strings in C++ (strcmp function in C++)
All C++ Functions List Alphabatically
String Literal in case of Switch in Java
Type of byte using Switch case in Java
Find Odd Even using Switch statement in Java
Find Day by day number using switch statement in Java
Simple Switch case example in Java
Program to find commission of salesman by given commission rate in Java
Simple program to check day by day number using if elsein Java
Program to find whether number is positive or negative in Java
Program to find leap year in Java
Program to calculate commission of salesman in Java
Nested if-else example in Java
Nested if example in Java
Program to Find maximum number using third Variable in Java
Program to find Odd Even in Java
Program to Find maximum number in Java
If else example in Java
Simple If statement example in Java 2
Simple If statement example in Java