Can anyone explain this code to me ?
Can we use scheduleAtFixedRate() method of ScheduledExecutorService?
What’s the ans?
Any good course to learn java full stack?
properties is correct or not?
yml files in our project and both have same keys which will execute?

Can anyone explain this code to me ? I m not getting how 88 55 output is coming

Can anyone explain this code to me ? I m not getting how 88 55 output is coming
they call the tostring method, and when you see it they only retun the value that why you only get the num value without the string

Can anyone explain this code to me ? I m not getting how 88 55 output is coming
Treeset<Demo> demo1 = new Treeset<>();

Can anyone explain this code to me ? I m not getting how 88 55 output is coming
Write <Demo> in Treeset

Write <Demo> in Treeset
Still same output

Can anyone explain this code to me ? I m not getting how 88 55 output is coming
You can override the tostring() method in this class.

You can override the tostring() method in this class.
Ohk

Exception in thread “main” java.lang.TypeNotPresentException: Type org.hibernate.SessionFactory not present

Can we use scheduleAtFixedRate() method of ScheduledExecutorService?
I don’t know much about scheduling


does any one knows how to write test case for this class

Ans pls

Ans pls
1

does any one knows how to write test case for this class
hi . You need to write test for controller layer with integration test with mockMvc and enable test your response body status and etc … search mockMvc keyboard for testing controller layer
Error : Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
13-09-2022 18:25:23.745 [35m[localhost-startStop-1][0;39m%highlight(INFO 2022-09-13 18:25:23.750 ERROR 12420 — [ost-startStop-1] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.id.travlogix.data.TravlogixDataSyncApplication]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/application.properties]at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:184)

Facing issues While deploying the war.
Error : Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
13-09-2022 18:25:23.745 [35m[localhost-startStop-1][0;39m%highlight(INFO 2022-09-13 18:25:23.750 ERROR 12420 — [ost-startStop-1] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.id.travlogix.data.TravlogixDataSyncApplication]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/application.properties]at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:184)
Tomcat lib u need to add servlet jarb

Why it’s not printing unique character if count==1