Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website 😊
Still working on it 😊
Download Telegram
It's a gb file so it's taking time i think so
An unchecked exception occurs in a method dosomething()Should other code be added in the dosomething() method for it to compile and execute?
Anonymous Quiz
13%
The Exception must be caught
25%
The Exception must be declared to be thrown.
63%
The Exception must be caught or declared to be thrown.
0%
No other code needs to be added.
programmers may be tempted to writecode that throws only unchecked exceptions or to make all their exception subclasses inherit fromRuntimeException. Both of these shortcuts allow programmers to write code without bothering with compilererrors and without bothering to specify or to catch any exceptions. Although this may seem convenient to theprogrammer, it sidesteps the intent of the catch or specify requirement and can cause problems for othersusing your classes.
Looks like everyone is just answering randomly ?
Stay ahead of the curve in 2023 by learning GraphQL: the modern, flexible alternative to REST APIs.

As we gear up for another new year, I wanted to share some thoughts on a topic that I think will be crucial for developers in 2023: GraphQL.

If you're not already familiar with GraphQL, it's a query language for your API that allows clients to request exactly the data they need, and nothing more. This means that you can get all the data you need in a single request, rather than having to make multiple API calls to get all the data you need.

But why is this important? Well, for one thing, GraphQL can help improve the performance of your applications. With REST APIs, you often have to make multiple API calls to get all the data you need, which can be slow and resource-intensive.

With GraphQL, you can get all the data you need in a single request, which can greatly improve the performance of your application.

Another reason to learn GraphQL is that it can help improve the flexibility of your API. With REST APIs, you often have to design your API around the needs of your clients. This can be a problem if your clients have very different data needs, as you may have to design multiple endpoints to accommodate them all.

With GraphQL, clients can request exactly the data they need, which makes it much easier to design a flexible API that can accommodate a wide range of client needs.

So if you're a developer looking to stay on top of the latest trends in the field, learning GraphQL is definitely worth considering in 2023.

And if you're not familiar with the difference between REST APIs and GraphQL, the attached illustration should help demystify things for you.

Wishing you a very successful year ahead!

I hope this helps! Let me know if you have any questions or need further clarification.

πŸ“Œ If you like my posts, please follow https://www.linkedin.com/in/aman-raj-6168b616a πŸ‡ΊπŸ‡Έ 🌐🌐 and hit the πŸ”” on my profile to get a notification for all my new posts.
#programming #coding #softwareengineering #api #graphql #developer
Java Hyd Team pinned Β«An unchecked exception occurs in a method dosomething()Should other code be added in the dosomething() method for it to compile and execute?Β»
Answer the polls
Java Hyd Team pinned Β«String valid = "true";if (valid) { System.out.println ("valid");}else { System.out.println ("not valid");}What is the result?Β»
TOMORROW LET'S HAVE A TEST ONLINE (QUIZ )
Anonymous Poll
94%
JAVA (3hours )1.5mnts per question
6%
Nope
This is sample for practice
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
public class DayOfDate {

public static void main(String[] args) {
// Create a DateTimeFormatter object
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy");

// Get the current date
LocalDate currentDate = LocalDate.now();

// Parse the given date
LocalDate givenDate = LocalDate.parse("09/11/1999", formatter);

// Get the day of the given date
String dayOfGivenDate = givenDate.getDayOfWeek().name();


// Print the day of the given date
System.out.println("Day of the given date is: " + dayOfGivenDate);
}
}