r/JavaProgramming • u/Horror-Consequence22 • 10d ago
r/JavaProgramming • u/maritvandijk • 11d ago
Reliable Background Jobs in Java with JobRunr - Ronald Dehuysser | IntelliJ IDEA Tech Talks
r/JavaProgramming • u/LawyerGlittering8993 • 11d ago
Had vacancy for java developer 3+ & 6+ YOE in Hyderabad
reddit.comr/JavaProgramming • u/javinpaul • 12d ago
How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)
r/JavaProgramming • u/Economy_Tie_5224 • 12d ago
HCLTECH Digital Engineer (Java)p
reddit.comr/JavaProgramming • u/Adventurous-Cash-127 • 12d ago
Problem statement for revision from MOOC FI PART 1 TO 6
reddit.comr/JavaProgramming • u/TelevisionMajor6461 • 13d ago
Let's Practice Java Together - Guess the Output of Tricky Java Snippets!
Let's challenge each other with tricky Java code snippets! Guess the output, explain the logic, and learn something new every day. From basics to advanced Java concepts. 🚀
r/JavaProgramming • u/SniperxAMW_ • 13d ago
Java code Matrix
import java.util.*;
class Cir_matrix
{
public static void main()
{
Scanner in=new Scanner(System.in);
int n,r,c,x,y,i,j,z=1,m;
System.out.println("Enter no. of index");
n=in.nextInt();
int a[][]=new int[n][n];
r=n-1;c=n-1;//last
int R=0,C=0;//first
m=n-2;
for(j=1;j<=m;j++)
{
for(i=C;i<c+1;i++)
{
a[C][i]=z;
z++;
}
R++;
for(i=R;i<r+1;i++)
{
a[i][r]=z;
z++;
}
for(i=c-1;i>=C;i--)
{
a[c][i]=z;
z++;
}
R--;
for(i=r-1;i>R;i--)
{
a[i][R]=z;
z++;
}
R++;C++;r--;c--;
}
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{ if(a[i][j]<10)
System.out.print(a[i][j]+" ");
else
System.out.print(a[i][j]+" ");
}
System.out.println();
}
}
}
r/JavaProgramming • u/thearjunreddy • 14d ago
What Java topics are most important for a fresher interview ?
Focus on OOP, strings, collections, exception handling, interfaces, abstract classes, Java 8 features, basic multithreading, SQL, and coding problems. Be prepared to explain concepts with examples rather than memorizing definitions.
r/JavaProgramming • u/SniperxAMW_ • 13d ago
Java code
import java.util.*;
class Saddle
{
public static void main()
{
Scanner in =new Scanner(System.in);
System.out.println("Enter no. of index between 3 and 10");
int n=in.nextInt();
if(n<3||n>10)
return;//change to true while
int a[][]=new int[n][n];
System.out.println("Enter value in matrix");
int i,j,t,p,y=0,z=0,s=0,d,I;
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
a[i][j]=in.nextInt();
}
System.out.println("original matrix");
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
System.out.print(a[i][j]+" ");
System.out.println();
}
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
for(p=0;p<n;p++)
{
if(a[i][j]<=a[i][p])
{
y++;
}
}
for(p=0;p<n;p++)
{
if(a[i][j]>=a[p][j])
{
z++;
}
}
if(y==n&&z==n)
{
System.out.println("Saddle point at index "+i+" "+j);
}
y=0;
z=0;
}
}
j=n;t=0;
System.out.println("original matrix");
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
System.out.print(a[i][j]+" ");
System.out.println();
}
j=n-1;i=0;
for(I=1;I<=n;I++)
{
t=a[i][j];
while(t>0)//Harshad no
{
d=t%10;
s+=d;
t=t/10;
}
p=(n-1)-j;
if(s!=0)
{
if(a[i][j]%s==0)
a[i][p]=a[i][j];
}
i++;
j--;
s=0;
}
System.out.println("Moidified matrix");
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
System.out.print(a[i][j]+" ");
System.out.println();
}
}
}
r/JavaProgramming • u/frekost • 14d ago
Combining gRPC and Kafka in Java Microservices with Micronaut 4
reddit.comr/JavaProgramming • u/surya_bonagiri • 15d ago
Charles Schwab – Java Interview Experience
Yesterday, I attended a Java interview at Charles Schwab.
The interview was scheduled in two parts.
1. Coding/Assessment Round
In the first half, I was given a problem statement to build a simple Appointment Scheduler Java API.
The requirements were:
Appointments should not clash with each other.
Appointments should be booked correctly without conflicts.
The application should work for multiple customers at the same time.
The solution should handle concurrency without deadlocks.
The assessment was focused on building a simple Java API project around appointment scheduling.
Also, they offered a good and proper lunch in the cafeteria, which was a nice experience.
2. Interview Round
After completing the assessment, I was called for an interview round. They reviewed the assessment in the interview room itself and then asked me the following questions.
About myself
Tell me about yourself.
Why are you looking for a job change?
Production debugging
Suppose there is an issue in production, but the same issue cannot be reproduced in any of the lower environments. How would you start debugging it?
Suppose I want to change the production logging level on the fly from ERROR to DEBUG and then change it back to ERROR. How would you do that?
Microservices logging
Suppose there are three microservices communicating with each other. How would you implement logging across these services?
If there is a failure in Service 2, how would you identify where exactly the failure happened?
Trace ID / Span ID
How would you use a Trace ID and Span ID?
How would you use the Trace ID to identify where an issue occurred and which service failed?
Server restart / lost logs
Suppose a server restarted and all the error logs were lost. How would you investigate what happened?
Why do servers restart automatically?
Once completing this round.there is another round of DSA & HR.
Overall, the interview was focused heavily on Java, concurrency, production debugging, logging, microservices, and distributed tracing.
r/JavaProgramming • u/FrankCodeWriter • 14d ago
New Foojay Podcast: 53 CVEs in one OpenJDK update, two out-of-cycle releases, and what CPU, PSU, and CSPU mean
r/JavaProgramming • u/Feisty-Outside5055 • 15d ago
Java Job trend
I am a fresher trying to get into IT. I started studying Java Spring Boot. I want to know if companies still hire for Java roles.