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
Java Hyd Team
Photo
Telegram isn't allowing video so i will upload on YouTube directly
String valid = "true";if (valid) { System.out.println ("valid");}else { System.out.println ("not valid");}What is the result?
Anonymous Quiz
35%
valid
10%
not valid
45%
compile error
10%
An IllegalArgumentException is thrown at run time
πŸ‘2
today's session
On the way πŸ˜‚
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 ?