What are order of precedence and associativity, and how are
they used?

Answer Posted / niranjanravi

order of predecence determines the in which the expressions
are to be evaluated.
associativity determines the order in which the operands
are to be evaluated eithet left to right or right to left

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you add an element to an arraylist in java?

567


What super () does in java?

568


How finally used under exception handling?

599


Can you declare an interface method static?

686


You're given a Boolean 2D matrix, can you find the number of islands?

703






Does java initialize arrays to zero?

592


Can we have any code between try and catch blocks?

643


What is an arraylist in java?

604


Why stringbuilder is not thread safe in java?

682


How many types of parsers are there?

654


How do you convert int to char in java?

673


What are the four pillars of java?

737


What is tree node in java?

604


What is e java?

654


Explain the available thread states in a high-level?

616