Scenario: There are 1 to 100 numbers. Each number should be
keep in the each column like from A column to Z column ie 1
to 26. From 27 to 52 should be in 2nd row in the excel
sheet. This has to be continue till 100. How do you write
Java program and what are various methods.
Answer Posted / badrinath
int var=0,n=100/26;
for(int j=0;j<=n;j++){
for(int i=0;i<26;i++)
{ var=var+1;
if(var>100)
break;
System.out.print(var+"/");
}
System.out.println(); }
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you use compareto in java?
What are inner classes or non static nested classes in java?
What is the type of lambda expression?
What is the association?
Give reasons supporting that string is immutable.
What is the difference between multitasking and multithreading in Java
What is the difference between conversation & casting?
Name and explain the types of ways which are used to pass arguments in any function in java.
What is a function in programming?
Define Multiprogramming and Multiprocessing in java.
Explain the significance of class loaders in bootstrap?
Detail discussions on JVM, memory management and garbage collector.
What is set in java?
What is application tier?
What is the difference between a method and a function in alice?