| Posted an answer
class Sample{ private double num = 1 00; private int square(int a){ return a*a; }}Compile time error | 1, August ,2024 | 5 |
| Posted an answer
_ and ___ are the access specifiers that can be applied to top level Class.default public | 1, August ,2024 | 5 |
| Posted an answer
The main method in java shouldbe public static | 1, August ,2024 | 5 |
| Posted an answer
The statement causes the program execution to stop and JVM to shut down. system.exit() | 1, August ,2024 | 5 |
| Posted an answer
Identify the features of java. Exception Handling Multithreading | 1, August ,2024 | 5 |
| Posted an answer
French curly braces {} is a must if the for loop executes more than one statement. State true or false- Select one:True | 1, August ,2024 | 5 |
| Asked a question
class Sample{ private double num = 1 00; private int square(int a){ return a*a; }}class Sample{ private double num = 1 00; private int square(int a){ return a*a; }} public class Test{ public static void main(String Sample obj = new Sample0; System-out-println(obj.num); }} Select... | 1, August ,2024 | 2 |
| Asked a question
_ and ___ are the access specifiers that can be applied to top level Class.Protected default Private public | 1, August ,2024 | 2 |
| Asked a question
The main method in java should take boolean as argument return int be public static be private static | 1, August ,2024 | 2 |
| Asked a question
The statement causes the program execution to stop and JVM to shut down. | 1, August ,2024 | 2 |
| Asked a question
Identify the features of java.Select one or more: Exception Handling Multithreading Less security Direct Access to memory using pointers | 1, August ,2024 | 2 |
| Asked a question
French curly braces {} is a must if the for loop executes more than one statement. State true or false- Select one:True False | 1, August ,2024 | 2 |
| Posted an answer
Which of the following are the best practices for secure user authentication?Use PreparedStatements Sanitize user input strings | 18, October ,2022 | 5 |
| Posted an answer
Which JDBC class can help to prevent SQL injection attacks?PreparedStatement | 18, October ,2022 | 5 |
| Posted an answer
What are the best practices for secure password storage?Store a hash and a salt Use PBKDF2WithHMacSHA256 | 18, October ,2022 | 5 |
| Posted an answer
Which of the following are the best practices for maintaining data confidentiality in Java?Use Java 7 try-with-resources Don't throw FileNotFoundExceptions to client code | 18, October ,2022 | 5 |
| Posted an answer
Which of the following is true for secure caller access in Java?Native code bypasses Java security checks | 18, October ,2022 | 5 |
| Posted an answer
Which of the following should you do in development, but not in production code, when working with security contexts?Print a stack trace in the exception handler | 18, October ,2022 | 5 |
| Posted an answer
What is the default Java policy file?java.policy | 18, October ,2022 | 5 |
| Posted an answer
What should programmers be aware of when using containers?Isolation may be breached via untrusted code access to mutable statics Containers are code that manages other code with a lower level of trust | 18, October ,2022 | 5 |