r/JavaProgramming • • 10d ago

Wrote a book on Spring AI

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 11d ago

Reliable Background Jobs in Java with JobRunr - Ronald Dehuysser | IntelliJ IDEA Tech Talks

Thumbnail
youtube.com
3 Upvotes

r/JavaProgramming • • 11d ago

Had vacancy for java developer 3+ & 6+ YOE in Hyderabad

Thumbnail reddit.com
2 Upvotes

r/JavaProgramming • • 12d ago

How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

Thumbnail
javarevisited.substack.com
6 Upvotes

r/JavaProgramming • • 12d ago

HCLTECH Digital Engineer (Java)p

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 12d ago

Problem statement for revision from MOOC FI PART 1 TO 6

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 12d ago

看看这段聊天

Thumbnail
chatgpt.com
1 Upvotes

r/JavaProgramming • • 12d ago

From a java beginner to java devs

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 13d ago

Let's Practice Java Together - Guess the Output of Tricky Java Snippets!

21 Upvotes

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 • • 13d ago

Library vs API (Java ☕️)

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 13d ago

Java code Matrix

0 Upvotes

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 • • 14d ago

What Java topics are most important for a fresher interview ?

15 Upvotes

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 • • 13d ago

Java code

0 Upvotes

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 • • 14d ago

Combining gRPC and Kafka in Java Microservices with Micronaut 4

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 14d ago

Looking for java courses

Thumbnail reddit.com
1 Upvotes

r/JavaProgramming • • 15d ago

Charles Schwab – Java Interview Experience

47 Upvotes

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 • • 14d ago

New Foojay Podcast: 53 CVEs in one OpenJDK update, two out-of-cycle releases, and what CPU, PSU, and CSPU mean

Thumbnail
youtube.com
2 Upvotes

r/JavaProgramming • • 15d ago

Java Job trend

11 Upvotes

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.


r/JavaProgramming • • 15d ago

I Designed a Modern Medicare Dashboard System Using Pure Java Swing

Thumbnail
gallery
47 Upvotes

Hi everyone,

I've been working on a modern Medicare Dashboard System using pure Java Swing, and I'd like to share my latest project with you.

The system includes three different dashboard designs:

Hospital Dashboard

Medical Dashboard

Dentist Dashboard

I focused on creating a clean, modern, and user-friendly interface using standard Java Swing components without any external UI frameworks.

The dashboards include navigation menus, statistics cards, data tables, charts, patient information, and custom UI components.

I also tried to give each dashboard its own look and feel while maintaining a consistent design across the entire system.

I've recorded a step-by-step tutorial showing the design process and sharing the source code.

Watch the Full Tutorial:

https://www.youtube.com/watch?v=C7PcMyNcrTs

I'd really appreciate your feedback. What do you think of the design? Which of the three dashboards do you like most?

I'm always interested in hearing suggestions from other Java developers.