What's the output for the above code
Anonymous Quiz
42%
4
36%
5
12%
ReferenceError: X is not defined
5%
Syntax error
5%
Undefined
Forwarded from Telegram Contests
Prize fund: $50,000
Deadline: 23:59 on December 21st (Dubai time)
Who can participate: Everyone, even if you didn't join Round 1
Results: December 2024
Telegram is hosting a contest for Android developers to enhance and upgrade the in-chat camera.
THE TASK
Adapt the existing in-chat camera with the camera for Stories, including all its features:
โ Collages;
โ Dual Camera Mode;
โ Front Camera Flash;
โ Widgets (for interactive widgets, i.e., reactions or links, your app may just apply a non-interactive entity over the canvas)...
Your implementation must remove any story-related restrictions or controls. Specifically, your app must not impose a limit on video length and should exclude interface controls that are only relevant for stories. Your app must retain the existing in-chat camera interface and flow before user opens the camera (i.e., the preview within the attachment menu).
Contest Requirements:
General
โ Your app must provide a consistent and smooth recording experience that aligns with the device's native camera app.
โ No third-party UI frameworks are allowed.
โ The submission must be consistent with the existing Telegram for Android codebase.
โ The app's stability and performance must not be affected with the changes you made.
โ The app must be free of significant flaws (including crashes, visual glitches, noticeable element blinking, layout errors, and more).
Note:
Submissions that introduce improvements to video recording are likely to receive higher scores in this contest.
Evaluation:
During the evaluation stage, we will review your code and test the submission on a wide range of Android devices.
Winners may be offered a chance to join the
Submissions:
Contestants will be able to submit their entries to @ContestBot at a later date. We will further clarify the submission instructions closer to the deadline.
Please open Telegram to view this post
VIEW IN TELEGRAM
What's the output for the above code ?
Anonymous Quiz
8%
false false
32%
false true
24%
true false
22%
true true
14%
compilation error
class Person {
private String name;
private Address address; // Address object stored privately
public Person(String name, Address address) {
this.name = name;
this.address = new address; // indirect assignment of the object I.e copy
}
public String getName() { //getter method for the name
return name;
}
public Address getAddress() { //getter method for the Address
return address;
}
}
#Friday #quiz
WHAT'S WRONG WITH THE ABOVE CODE
Anonymous Quiz
27%
Logical Error
14%
Memory leak
18%
CompileTime error
22%
Privacy leak
18%
None
This media is not supported in your browser
VIEW IN TELEGRAM
Interesting topic about Javascript ๐ค