Category Archives

Interview Java Programs

Oct
21

What is the difference between Iterator and ListIterator in Java?

Hello everyone, here I have sharing my knowledge of What is the difference between Iterator and ListIterator in Java?. please find the below points and sample program. 1. ListIterator class allows the developers to iterate only the list object in both directions such…

Oct
20

Find Highest and Lowest Number in the Array using Java

Here I have attached Simple Interview question for Find Highest and Lowest Number in the Array using Java Programming Language. FindHighLowNumber.java package com.javatraineronline.example; public class FindHighLowNumber { public void getHighLowNumber(int[] numbers) { int highest = numbers[0]; int lowest = numbers[0]; for (int i…

Oct
20

Converting Decimal to Binary using Java Program

ConvertDecimalToBinary.java package com.javatraineronline.example; public class ConvertDecimalToBinary { public void covertBinaryFormat(int number){ int binaryArray [] = new int[25]; int position = 0; while(number > 0){ binaryArray[position++] = number%2; number = number/2; } for(int i = position-1;i >= 0;i–){ System.out.print(binaryArray[i]); } } public static void…

Sep
28

FLAMES Program in Java Language

package com.javatraineronline; import java.io.BufferedReader; import java.io.InputStreamReader; public class Flames { public static void main(String[] args) throws Exception { System.out.println("Welcome to FLAMES Applications"); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter Your Name: "); String first = br.readLine(); // First name input System.out.println("Enter Your Partner's…

Sep
28

Inverse Triangle Example in Java Program

Inverse Triangle Example in Java In this example, I am attaching simple program about, Inverse Triangle Example in Java. The program were tested and shared in the post. InverseTriangle.java package com.javatraineronline; import java.util.Scanner; public class InverseTriangle { public static void main(String[] args) {…

Private Online Java Tutor

Welcome to my web site Java Trainer Online, I am experienced Software Professional and Private Online Java Tutor have been providing Online Training to teach Java, J2EE, Struts, Spring, Hibernate, Web Services, SOAP, REST and other major frameworks in Java language.

Contact Me

Mr. Dinesh Krishnan
Ph: +91 9941937705
E-Mail: [email protected]
Whatsapp or Call to above number for
  • Online Training
  • Corporate Training
  • Java Assignment Help
  • Application Development

Share this page

Get Notified For New Post