Can we use scheduleAtFixedRate() method of ScheduledExecutorService?

|
akriti 2022-09-12 18:40:27
springbootmicroservices-78674.jpg
Can anyone explain this code to me ? I m not getting how 88 55 output is coming
medg87 2022-09-12 18:42:41
akriti 2022-09-12 18:40:27
springbootmicroservices-78674.jpg
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

akriti 2022-09-12 18:44:21
Ok thankyou got it
BY_MUHAMMADIY 2022-09-12 18:47:02
akriti 2022-09-12 18:40:27
springbootmicroservices-78674.jpg
Can anyone explain this code to me ? I m not getting how 88 55 output is coming

Treeset<Demo> demo1 = new Treeset<>();

BY_MUHAMMADIY 2022-09-12 18:48:17
akriti 2022-09-12 18:40:27
springbootmicroservices-78674.jpg
Can anyone explain this code to me ? I m not getting how 88 55 output is coming

Write <Demo> in Treeset

akriti 2022-09-12 18:52:12
BY_MUHAMMADIY 2022-09-12 18:48:17
springbootmicroservices-78674.jpg
Write <Demo> in Treeset

Still same output

akriti 2022-09-12 18:52:57
I got the strings when i replace “” with data in return
BY_MUHAMMADIY 2022-09-12 18:55:34
akriti 2022-09-12 18:40:27
springbootmicroservices-78674.jpg
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.

Utk 2022-09-12 18:55:53
Can we use scheduleAtFixedRate() method of ScheduledExecutorService?
akriti 2022-09-12 19:00:52
BY_MUHAMMADIY 2022-09-12 18:55:34
springbootmicroservices-78674.jpg
You can override the tostring() method in this class.

Ohk

Anand Rajput 2022-09-12 20:54:16
springbootmicroservices-78711.jpg
Exception in thread “main” java.lang.TypeNotPresentException: Type org.hibernate.SessionFactory not present
Karthik 2022-09-13 00:02:29
Please send again I’m not able to download
Rahul Gupta 2022-09-13 06:02:30
Utk 2022-09-12 18:55:53
springbootmicroservices-78674.jpg
Can we use scheduleAtFixedRate() method of ScheduledExecutorService?

I don’t know much about scheduling

Mohtasim Ahemad 2022-09-13 06:23:36
What is the basic or mandatory thing to remember to do spring microservices project (what steps follow to do) please any one me here.
Mr.Nobody 2022-09-13 06:56:22
springbootmicroservices-78751.jpg

Mr.Nobody 2022-09-13 06:57:23
What’s the ans?
pendem Manoj 2022-09-13 08:11:38
springbootmicroservices-78764.jpg
does any one knows how to write test case for this class
akriti 2022-09-13 08:29:40
springbootmicroservices-78767.jpg
Ans pls
K 2022-09-13 09:05:23
akriti 2022-09-13 08:29:40
springbootmicroservices-78767.jpg
Ans pls

1

mmn_1380 2022-09-13 10:18:56
pendem Manoj 2022-09-13 08:11:38
springbootmicroservices-78764.jpg
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

.. .. 2022-09-13 11:11:34
Any good course to learn java full stack?
Mohit 2022-09-13 11:17:21
Csrf issue kaise solve krte anyone know
Giridharan K 2022-09-13 11:57:04
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)

Frugalis Minds 2022-09-13 12:04:31
Giridharan K 2022-09-13 11:57:04
springbootmicroservices-78764.jpg
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

Frugalis Minds 2022-09-13 12:04:45
I guess
Frugalis Minds 2022-09-13 12:05:10
Application.properties is correct or not??
Rainhvid 2022-09-13 12:05:30
Hello guys. I wanna ask one thing: do you guys ever make auditing with field createdBy and modifiedBy while implement spring security and jwt?
Rahul Gupta 2022-09-13 12:13:33
What if we use both application.properties and application.yml files in our project and both have same keys which will execute?
Rahul Gupta 2022-09-13 12:17:12
Can you please elaborate it was asked in my interview
Sakshi 2022-09-13 12:41:27
springbootmicroservices-78801.jpg
Why it’s not printing unique character if count==1
|