Java programming for beginners
Open in Telegram
Learn java programming through quizzes and videos
Show moreThe country is not specifiedThe category is not specified
2 941
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
Federico Fernández welcome to the group. To learn how to crack coding exams
Repost from TechShiksha by Badkul Technology
Can you write a program to find all numbers in a string ?
input "1 H211o W0r1d" output [1,211, 0, 1] ?
/* Question - 02
Java Program To Reversing A Given Number
*/
package ABC;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int num,rev=0,rem;
System.out.println("Enter The Number :");
num = s.nextInt();
System.out.println("Original Number: " + num);
while(num != 0) {
rem = num%10;
rev = rev*10+rem;
num = num/10;
}
System.out.println("Reversed Number: " + rev);
}
}
There are around 60k records. Want to fetch 1k records from db and process it
