Examlex

Solved

What Will the Following Code Display

question 13

Multiple Choice

What will the following code display?
String input = "99#7";
Int number;
Try
{
Number = Integer.parseInt(input) ;
}
Catch(NumberFormatException ex)
{
Number = 0;
}
Catch(RuntimeException ex)
{
Number = 1;
}
Catch(Exception ex)
{
Number = -1;
}
System.out.println(number) ;


Definitions:

Role Identities

The conceptions held by individuals about who they are in specific roles within their social networks or groups.

Reflected Appraisals

The method through which people create self-images influenced by their assumptions of others' opinions about them.

Racial Identity

An individual's awareness and experience of being a member of a racial group, including the personal significance and social meaning attached to that group membership.

Cultural Exposure

The experience of encountering and interacting with customs, traditions, and practices different from one's own.

Related Questions