Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Aashish Chaursiya

Aashish Chaursiya

Community Learner
Share
129Questions
127Answers
198.6KViews on questions

How can I implement string to java atoi?

Regarding the java atoi, that's a pretty good implementation in a number of key details. Using the Character.isDigit() and Character.getNumericValue() methods are good to see. Maths.* methods that handle the overflow conditions are good too. I am not sure if you intended it, but you also correctly handle an obscure…

Java

Answered Oct 10, 2022 · 952 Views Read answer →

Why is Integer.min_value and Integer.max value equal to 1?

Java will overflow and underflow int values. Integer.max_value = 2147483647 (01111111111111111...1) Integer.min_value = -2147483648 (10000000000000000...0) //first bit is -2^31 under flow: -2147483648 - 1 = 2147483647 so.... min_int- max_int = -2147483648 - 2147483647 = -2147483648 -(1 + 2147483646) = (-2147483648 -…

Java

Answered Oct 10, 2022 · 729 Views Read answer →

What to do if mysql show grants for all users?

If mysql show grants for all users - Nothing built-in. You have two options though:Use common_schema's sql_show_grants view. For example, you can query: SELECT sql_grants FROM common_schema.sql_show_grants; Or you can query for particular users, for example: SELECT sql_grants FROM common_schema.sql_show_grants WHERE…

SQL Server

Answered Sep 30, 2022 · 1.3K Views Read answer →

How to create a mysql add column if it does not exist?

To create a mysql add column if not exists MySQL ALTER TABLE does not have IF EXISTS specification.You can do the following through using a stored proc or a programming language if this is something that you'll need to do on a regular basis: Pseudocode: Find if the column exists using the SQL below: SELECT column_name…

SQL Server

Answered Sep 29, 2022 · 5.7K Views Read answer →

How can I perform Salesforce certification verification?

You don't need to do anything; anyone can perform Salesforce certification verification on the verification site. Simply give them your name or primary email, and the site can display your certifications. For example, based on your user name, it appears that you passed "Salesforce Certified Platform Developer I" on…

Salesforce

Answered Sep 22, 2022 · 927 Views Read answer →

How is the Pixie dust attack different from other WPS attacks?

Pixie works by exploiting weaknesses in the generation of the E-S1 and E-S2 nonces which are used to produce the enrollee hash, as described in the Pixie Dust Attack. Traditional attacks attack the two halves of the WPS PIN (PSK1, PSK2) in an online attack, essentially brute-forcing all possible options for the PIN…

Cyber Security

Answered Apr 13, 2022 · 3.2K Views Read answer →

Is Bluetooth encrypted?

Is Bluetooth encrypted can be answered as - IMHO encryption is mandatory after devices have been paired, as the initiator must send a maximum key size to be used: Maximum Encryption Key Size (1 octet) This value defines the maximum encryption key size in octets that the device can support. The maximum key size shall…

Cyber Security

Answered Mar 17, 2022 · 1.1K Views Read answer →

What is a reflected XSS attack?

Reflected XSS attack I send a victim a link to http://example.com/page?var=[removed]alert('xss')[removed] and somewhere on the page that value is echoed back to the victim. The value is only on the page if they follow my special link. The downside of this type is I have to specifically attack one victim or a group of…

Cyber Security

Answered Mar 15, 2022 · 958 Views Read answer →

More members from the Salesforce community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.